From a93aac82d2f19a1eaccfe3799d09e0438fa357eb Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Sun, 24 Apr 2022 16:00:27 +0300 Subject: Do not correct when in code block --- resources/test/core.md | 7 ++++++- resources/test/core_result.html | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'resources/test') diff --git a/resources/test/core.md b/resources/test/core.md index f65b20e..eefc4f7 100644 --- a/resources/test/core.md +++ b/resources/test/core.md @@ -79,6 +79,11 @@ This is ___bold italic text___ and ***this is also***. *What about italic text t 2. Continuing sub list item * Continuing list item +``` +code goes here. +# This is a heading. +``` + This is a H1 heading with settext ================================= @@ -90,4 +95,4 @@ Testing paragraph right before a code block code goes here ``` # Heading goes here -Paragraph right after heading \ No newline at end of file +Paragraph right after heading diff --git a/resources/test/core_result.html b/resources/test/core_result.html index 39e8562..54273e0 100644 --- a/resources/test/core_result.html +++ b/resources/test/core_result.html @@ -56,6 +56,9 @@ function markdownToHTML(markdown) { +
code goes here.
+# This is a heading.
+

This is a H1 heading with settext

And this is a H2 heading with settext

-- cgit v1.2.3