using Test import Weave: Markdown2HTML import Markdown # Test markdown2html writer html = Markdown2HTML.html(Markdown.parse(""" # H1 ## H2 ## H3 Some **text** with different [^note] *formatting* and \$math\$ and text. `some code` with [link](http://github.com) [^note]: test note --- \$more math\$ * List one * List two 1. List one 2. List two ```julia x = 3 ``` !!! note "Something" Test admonition with ![Image](link/to/image.png) > Some important quote """)) ref_html = """

H1

H2

H3

Some text with different [note] formatting and \$math\$ and text.

some code with link

note

test note


\\[ more math \\]

  1. List one

  2. List two

x = 3

Something

Test admonition with \"Image\"

Some important quote

""" @test html == ref_html