From ca5c25bd05ffbf9047cbd725eafa4a944d33b490 Mon Sep 17 00:00:00 2001 From: Thibaut Lienart Date: Thu, 5 Sep 2019 14:10:03 +0200 Subject: [PATCH] adds test and closes #198 --- test/converter/markdown3.jl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/converter/markdown3.jl b/test/converter/markdown3.jl index 7bbf5729e..81b28fbd7 100644 --- a/test/converter/markdown3.jl +++ b/test/converter/markdown3.jl @@ -144,3 +144,21 @@ end whereas the Hello after the run command is printed output.

""") 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""" +

Essentially three things are imitated from LaTeX

+
    +
  1. you can introduce definitions using \newcommand

  2. +
  3. you can use hyper-references with \eqref, \cite, ...

  4. +
  5. you can show nice maths (via KaTeX)

  6. +
+ """) +end