question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Markdown-here dosen't work with table in bullet list

See original GitHub issue

This markdown code can’t convert well in outlook email and Gmail

* #### Table
  | a               | b               |
  | --------------- | --------------- |
  | 1<br>2<br>3<br> | 1<br>2<br>3<br> |

Or any thing I missed ? Hope this is not a really bug. thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
wz233commented, Oct 8, 2018

Em… But Markdown-Here works well with this code with HTML code And Markdown mix.

#### Table
  | a               | b               |
  | --------------- | --------------- |
  | 1<br>2<br>3<br> | 1<br>2<br>3<br> |

Hope it works well with

* #### Table
  | a               | b               |
  | --------------- | --------------- |
  | 1<br>2<br>3<br> | 1<br>2<br>3<br> |

too.

Different MarkDown editor has its own way to parse Markdown syntax. Some editors support inline html tags while others may not. The best way is to use your own favourite Markdown editor, enjoy its strength and know its limitations.

0reactions
wtianyicommented, Oct 28, 2020

The same problem occurred to me and my table doesn’t have HTML tags inside.

The piece of markdown is like

1. The scale of their experiments:
    - As comparison:
| Network       | # parameters |
|---------------|--------------|
| LeNet         |        44426 |
| VGG-11        |      9231114 |
| VGG-19        |     20040522 |
| WideResNet-28 |     36489290 |

2. something else

I believe it’s due to a known issue of the marked.js library used by MDH. See https://github.com/markedjs/marked/issues/811 and https://github.com/markedjs/marked/issues/980

I replaced the old version of marked.js with the latest version (https://github.com/markedjs/marked/blob/master/lib/marked.js) and made adaptations (https://github.com/wtianyi/markdown-here/commit/46ff19ef71cf9e9ae3645cd80422c9cdd02f8e37), and now the tables in lists are correctly treated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to write bullet list in markdown table? - Stack Overflow
Your solution works perfectly fine on github. However I am using bitbucket on which it doesn't seem to work. I tried multiple approaches...
Read more >
Extended Syntax - Markdown Guide
Tip: Creating tables with hyphens and pipes can be tedious. To speed up the process, try using the Markdown Tables Generator or AnyWayData...
Read more >
Lists | Dev Cheatsheets - Michael Currin
You can use line breaks in a bullet list (but not a numbered list). Code: - First point starts here. Next line of...
Read more >
Markdown Basics - R Markdown - RStudio
Lists. Unordered List: * Item 1 * Item 2 + Item 2a + Item 2b. Ordered List: 1. Item 1 2. Item 2...
Read more >
Bullets in Tables? < Support < Foswiki
I want to use a bulleted list and/or a numbered list within a table TD cell. However, Foswiki doesn't ... The documentation here...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found