summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorAsko Nõmm <asko@bien.ee>2022-04-24 16:00:27 +0300
committerAsko Nõmm <asko@bien.ee>2022-04-24 16:00:27 +0300
commita93aac82d2f19a1eaccfe3799d09e0438fa357eb (patch)
treeaa7f6403ce50a2f6d033bea80a87b7afcceaceed /resources
parentdcb21ec0104cdec3ca9976374868c5837ad9d0b9 (diff)
Do not correct when in code block
Diffstat (limited to 'resources')
-rw-r--r--resources/test/core.md7
-rw-r--r--resources/test/core_result.html3
2 files changed, 9 insertions, 1 deletions
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) {
<ul><li>List item</li><li>Another list item<ul><li>Sub list item</li><li>Another sub list item<ol><li>Sub sub list item</li><li>Continuing sub list item</li></ol></li></ul></li><li>Continuing list item</li></ul>
+<pre><code>code goes here.
+# This is a heading.</code></pre>
+
<h1>This is a H1 heading with settext</h1>
<h2>And this is a H2 heading with settext</h2>