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

Parsing misses nested markdown. #9

Closed
MichaelHatherly opened this issue Sep 24, 2014 · 1 comment
Closed

Parsing misses nested markdown. #9

MichaelHatherly opened this issue Sep 24, 2014 · 1 comment

Comments

@MichaelHatherly
Copy link
Contributor

Elements such as List, Link, Bold, Italic don't contain parsed markdown, but rather just the original plain text.

julia> Markdown.parse("**`code`**").content
1-element Array{Content,1}:
 Paragraph(Content[Plain(""),Bold("`code`"),Plain("")])

julia> Markdown.parse("""
       * **bold**
       * *italic*
       * `code`
       """).content
1-element Array{Content,1}:
 List(Content[Plain("**bold**"),Plain("*italic*"),Plain("`code`")],true)

julia> Markdown.parse("[`code`](#code)").content
1-element Array{Content,1}:
 Paragraph(Content[Plain(""),Link("`code`","#code"),Plain("")])
@MikeInnes
Copy link
Contributor

Fixed on master

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

2 participants