You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2019. It is now read-only.
work individually, but when both are included one after another the list type of the first wins. Breaking the two lists with text in the middle seems to work fine.
Broken:
* list
* item
1. numbered
1. list
Working:
* list
* item
Paragraph
1. numbered
1. list
The text was updated successfully, but these errors were encountered:
It appears that this is standard markdown behavior. If you put those snippets into the original web tester, you get the same results. Other sites (like this one using marked) seems to render it in the more intuitive way. I'm guessing the markdown library I'm using (github.com/russross/blackfriday) is just trying to be true to the original.
A solution might be to move markdown rendering to the client with a library like marked. Go doesn't seem to have any markdown libraries that aren't direct ports from the original c.
Here's a mailing list thread talking about this problem. An empty code block seems to be the best proposed solution (other than fixing the implementation):
* list
* hello
* world
` `
1. ordered
1. list
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
or
work individually, but when both are included one after another the list type of the first wins. Breaking the two lists with text in the middle seems to work fine.
Broken:
Working:
The text was updated successfully, but these errors were encountered: