Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unordered lists created with '+' and '-' not parsed #12

Closed
jiahao opened this issue Sep 26, 2014 · 0 comments
Closed

Unordered lists created with '+' and '-' not parsed #12

jiahao opened this issue Sep 26, 2014 · 0 comments

Comments

@jiahao
Copy link

jiahao commented Sep 26, 2014

Quoting the spec:

Unordered lists use asterisks, pluses, and hyphens — interchangably — as list markers:

but only the last of these is parsed as a list:

julia> Markdown.parse("""
+ List plus, item 1
+ List plus, item 2

- List minus, item 1
- List minus, item 2

* List times, item 1
* List times, item 2
""") |> println


Block(Content[Paragraph(Content[Plain("+ List plus, item 1 + List plus, item 2")]),Paragraph(Content[Plain("- List minus, item 1 - List minus, item 2")]),List(Content[Plain("List times, item 1"),Plain("List times, item 2")],true)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant