From 9f8f4fc36adef06458320d7bfdef01dbe41f52a1 Mon Sep 17 00:00:00 2001 From: Asko Nomm Date: Sat, 9 Apr 2022 13:51:16 +0200 Subject: Support settext headings (closes #6) --- resources/test/core_result.html | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'resources/test/core_result.html') diff --git a/resources/test/core_result.html b/resources/test/core_result.html index fb64b35..5e9513b 100644 --- a/resources/test/core_result.html +++ b/resources/test/core_result.html @@ -1,4 +1,8 @@ -

Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.

  1. List item
  2. Another list item
    1. Sub list item
    2. Another sub list item
      1. Sub sub list item
    3. Continuing sub list item
  3. Continuing list item
// Detect horizontal line block
+

Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.

+ +
  1. List item
  2. Another list item
    1. Sub list item
    2. Another sub list item
      1. Sub sub list item
    3. Continuing sub list item
  3. Continuing list item
+ +
// Detect horizontal line block
 function isHorizontalLineBlock(block) {
   return block === "***";
 }
@@ -36,4 +40,16 @@ function markdownToHTML(markdown) {
 
   // And at last, join the blocks together for one big block.
   return parsedBlocks.join("");
-}

This is bold italic text and this is also. What about italic text that has bold text?

Hi there, world!

  • List item
  • Another list item
    • Sub list item
    • Another sub list item
      • Sub sub list item
      • Continuing sub list item
  • Continuing list item
  • List item
  • Another list item
    • Sub list item
    • Another sub list item
      1. Sub sub list item
      2. Continuing sub list item
  • Continuing list item
\ No newline at end of file +}
+ +

This is bold italic text and this is also. What about italic text that has bold text?

+ +

Hi there, world!

+ + + + + +

This is a H1 heading with settext

+ +

And this is a H2 heading with settext

\ No newline at end of file -- cgit v1.2.3