summaryrefslogtreecommitdiffstats
path: root/packages/markdown/marked/test/new/gfm_code.html
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-04-20 15:18:33 +0300
committerLauri Ojansivu <x@xet7.org>2019-04-20 15:18:33 +0300
commit73e265d8fd050ae3daa67472b4465a5c49d68910 (patch)
tree677b233934a43d8f873e24c794ce289d85e3a9b7 /packages/markdown/marked/test/new/gfm_code.html
parent6117097a93bfb11c8bd4c87a23c44a50e22ceb87 (diff)
downloadwekan-73e265d8fd050ae3daa67472b4465a5c49d68910.tar.gz
wekan-73e265d8fd050ae3daa67472b4465a5c49d68910.tar.bz2
wekan-73e265d8fd050ae3daa67472b4465a5c49d68910.zip
Include to Wekan packages directory contents, so that meteor command would build all directly.
This also simplifies build scripts. Thanks to xet7 !
Diffstat (limited to 'packages/markdown/marked/test/new/gfm_code.html')
-rw-r--r--packages/markdown/marked/test/new/gfm_code.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/markdown/marked/test/new/gfm_code.html b/packages/markdown/marked/test/new/gfm_code.html
new file mode 100644
index 00000000..3e6b946f
--- /dev/null
+++ b/packages/markdown/marked/test/new/gfm_code.html
@@ -0,0 +1,21 @@
+<pre><code class="language-js">var a = &#39;hello&#39;;
+console.log(a + &#39; world&#39;);</code></pre>
+<pre><code class="language-bash">echo &quot;hello, ${WORLD}&quot;</code></pre>
+<pre><code class="language-longfence">Q: What do you call a tall person who sells stolen goods?</code></pre>
+<pre><code class="language-ManyTildes">A longfence!</code></pre>
+<p>How about an empty code block?</p>
+<pre><code class="language-js"></code></pre>
+<p>How about a code block with only an empty line?</p>
+<pre><code class="language-js">
+</code></pre>
+
+<p>With some trailing empty lines:</p>
+<pre><code>ciao
+
+
+</code></pre>
+
+<p>Closing fences must lay on a new line:</p>
+<pre><code>hello()
+^```
+&quot;this should still be in the code block!&quot;</code></pre>