aboutsummaryrefslogtreecommitdiff
path: root/tests/php/extra/Fenced Code Blocks.xhtml
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:10:28 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:10:28 +0000
commit6ff587f109e9b9e63d722716d2491b943b78cc17 (patch)
tree1a110fa9fa982e746b1969458c5b9d373c70a38c /tests/php/extra/Fenced Code Blocks.xhtml
parent785cf9483e09324449c2e32022872c0e55b177a8 (diff)
parentb8ef043a4bce3c0e0c3a83a5309c17d1962be972 (diff)
downloadmarkdown-6ff587f109e9b9e63d722716d2491b943b78cc17.tar.gz
Change-Id: I89d9bffdfa82f0d26aa4638c7d74276fc5a0910f
Diffstat (limited to 'tests/php/extra/Fenced Code Blocks.xhtml')
-rw-r--r--tests/php/extra/Fenced Code Blocks.xhtml53
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/php/extra/Fenced Code Blocks.xhtml b/tests/php/extra/Fenced Code Blocks.xhtml
new file mode 100644
index 0000000..518908c
--- /dev/null
+++ b/tests/php/extra/Fenced Code Blocks.xhtml
@@ -0,0 +1,53 @@
+<pre><code>Fenced
+</code></pre>
+
+<p>Code block starting and ending with empty lines:</p>
+
+<pre><code><br /><br />Fenced
+
+
+</code></pre>
+
+<p>Indented code block containing fenced code block sample:</p>
+
+<pre><code>~~~
+Fenced
+~~~
+</code></pre>
+
+<p>Fenced code block with indented code block sample:</p>
+
+<pre><code>Some text
+
+ Indented code block sample code
+</code></pre>
+
+<p>Fenced code block with long markers:</p>
+
+<pre><code>Fenced
+</code></pre>
+
+<p>Fenced code block with fenced code block markers of different length in it:</p>
+
+<pre><code>In code block
+~~~
+Still in code block
+~~~~~
+Still in code block
+</code></pre>
+
+<p>Fenced code block with Markdown header and horizontal rule:</p>
+
+<pre><code>#test
+---
+</code></pre>
+
+<p>Fenced code block with link definitions, footnote definition and
+abbreviation definitions:</p>
+
+<pre><code>[example]: http://example.com/
+
+[^1]: Footnote def
+
+*[HTML]: HyperText Markup Language
+</code></pre>