Skip to content

Commit

Permalink
adds test and closes #198
Browse files Browse the repository at this point in the history
  • Loading branch information
tlienart committed Sep 5, 2019
1 parent 5e692e5 commit ca5c25b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/converter/markdown3.jl
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,21 @@ end
whereas the <code>Hello</code> after the <code>run</code>
command is printed output.</p>""")
end


@testset "i198" begin
st = raw"""
Essentially three things are imitated from LaTeX
1. you can introduce definitions using `\newcommand`
1. you can use hyper-references with `\eqref`, `\cite`, ...
1. you can show nice maths (via KaTeX)
""" * J.EOS
@test isapproxstr(st |> seval, raw"""
<p>Essentially three things are imitated from LaTeX</p>
<ol>
<li><p>you can introduce definitions using <code>\newcommand</code></p></li>
<li><p>you can use hyper-references with <code>\eqref</code>, <code>\cite</code>, ...</p></li>
<li><p>you can show nice maths &#40;via KaTeX&#41;</p></li>
</ol>
""")
end

0 comments on commit ca5c25b

Please sign in to comment.