Writing a readme in github I run into the problem that if I want a paragraph of text after a list it interprets it as just more of the list:
* List item
More text
Shows up as:
List item
More text
I tried looking at a few other github repos but I can't tell why theirs are working and mine isn't.
example
You can also end a Markdown list using an HTML comment <!-- -->
. The comment won't be visible in the rendered output and it works also on Stack Exchange sites.
It's just important to place the comment on a separate line after the list and put an empty line both before and after it.
The comment doesn't have to have any content:
- List item 1
- List item 2
<!-- end of the list -->
code_block() {
...
You may add a new line after your list heading, and tab your list content. In this way when a new list is started it will be separate from previous list.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With