diff options
| author | Asko Nõmm <ano@ano.ee> | 2022-05-12 21:09:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-12 21:09:38 +0300 |
| commit | 2ff0da12f58d17b6c1ab3736a41595073b3a534e (patch) | |
| tree | 52dab7ba9cb71ca06c334cada0b8fc2c99c3fb91 /resources/test | |
| parent | 94c1c0ca639f55ff9073cb1fdf2ad6015bb6bae1 (diff) | |
| parent | dc2a364db6d14d4afa9da9aadbccb8fdbb038fe4 (diff) | |
Merge pull request #31 from askonomm/7-support-indented-code-blocks
Implement indented code blocks.
Diffstat (limited to 'resources/test')
| -rw-r--r-- | resources/test/core.md | 8 | ||||
| -rw-r--r-- | resources/test/core_result.html | 8 |
2 files changed, 15 insertions, 1 deletions
diff --git a/resources/test/core.md b/resources/test/core.md index eefc4f7..5c42a7d 100644 --- a/resources/test/core.md +++ b/resources/test/core.md @@ -68,7 +68,9 @@ This is ___bold italic text___ and ***this is also***. *What about italic text t * Sub sub list item * Continuing sub list item * Continuing list item - + <?php + echo 'indented code block'; + ?> *** * List item @@ -87,6 +89,10 @@ code goes here. This is a H1 heading with settext ================================= + <?php + echo 'indented code block'; + ?> + And this is a H2 heading with settext ------------------------------------- diff --git a/resources/test/core_result.html b/resources/test/core_result.html index 01f91aa..8963e74 100644 --- a/resources/test/core_result.html +++ b/resources/test/core_result.html @@ -52,6 +52,10 @@ function markdownToHTML(markdown) { <ul><li>List item</li><li>Another list <del>item</del><ul><li>Sub list item</li><li>Another sub list item<ul><li>Sub sub list item</li><li>Continuing sub list item</li></ul></li></ul></li><li>Continuing list item</li></ul> +<pre><code><?php +echo 'indented code block'; +?></code></pre> + <hr> <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> @@ -61,6 +65,10 @@ function markdownToHTML(markdown) { <h1 id="this-is-a-h1-heading-with-settext">This is a H1 heading with settext</h1> +<pre><code><?php +echo 'indented code block'; +?></code></pre> + <h2 id="and-this-is-a-h2-heading-with-settext">And this is a H2 heading with settext</h2> <p>Testing paragraph right before a code block</p> |
