Skip to content

Commit

Permalink
Repro
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino committed Nov 28, 2023
1 parent 492efce commit 9ead055
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/nextjournal/markdown_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,20 @@ Par.
"Explain 2"]]]]
(md.transform/->hiccup parsed+sidenotes))))))

(deftest repro-19-test
(is (match? {:type :toc
:children [{:type :toc
:heading-level 1
:children [{:type :toc
:heading-level 2}]}]}
(:toc (md/parse "# Title
some par
$$p(z\\\\mid x) = \\\\frac{p(x\\\\mid z)p(z)}{p(x)}.$$\n\n
## SubTitle
")))))

(comment
(doseq [[n v] (ns-publics *ns*)] (ns-unmap *ns* n))
(clojure.test/run-tests)
Expand Down

0 comments on commit 9ead055

Please sign in to comment.