From 7c3eba77fd3de0e108efba94018233a57e66989e Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Wed, 11 May 2022 20:42:30 +0300 Subject: Implement indented code blocks. --- resources/test/core.md | 8 +++++++- resources/test/core_result.html | 8 ++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'resources') 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 - + *** * List item @@ -87,6 +89,10 @@ code goes here. This is a H1 heading with settext ================================= + + 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) { +
<?php
+echo 'indented code block';
+?>
+
@@ -61,6 +65,10 @@ function markdownToHTML(markdown) {

This is a H1 heading with settext

+
<?php
+echo 'indented code block';
+?>
+

And this is a H2 heading with settext

Testing paragraph right before a code block

-- cgit v1.2.3