From 87ca26d7ecfb07d20e5403d4e9b982bee826459b Mon Sep 17 00:00:00 2001 From: Nikoasc <126387153+Nikoasc@users.noreply.github.com> Date: Fri, 25 Jul 2025 19:08:25 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9808a09..41eaa71 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,13 @@ Docs are available [here](https://www.moritzjung.dev/obsidian-js-engine-plugin-d ```js let markdownBuilder = engine.markdown.createBuilder(); -markdownBuilder.createHeading(2, 'Test Heading'); +markdownBuilder.createHeading(1, 'Test Heading lvl 1'); +markdownBuilder.createHeading(2, 'Test Heading lvl 2'); +markdownBuilder.createHeading(3, 'Test Heading lvl 3'); +markdownBuilder.createHeading(4, 'Test Heading lvl 4'); +markdownBuilder.createHeading(5, 'Test Heading lvl 5'); +markdownBuilder.createHeading(6, 'Test Heading lvl 6'); markdownBuilder.createParagraph('This is a test paragraph.'); - -markdownBuilder.createHeading(3, 'This is a sub heading'); -markdownBuilder.createHeading(4, 'This is a sub sub heading'); markdownBuilder.createParagraph('This is another test paragraph.'); return markdownBuilder; From f687a6aec84a0912d0e2163b06dd13bf10b97a4f Mon Sep 17 00:00:00 2001 From: Nikoasc <126387153+Nikoasc@users.noreply.github.com> Date: Fri, 25 Jul 2025 20:05:22 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 41eaa71..1429a21 100644 --- a/README.md +++ b/README.md @@ -41,14 +41,14 @@ return markdownBuilder; #### Output -> ## Test Heading -> +> # Test Heading lvl 1 +> ## Test Heading lvl 2 +> ### Test Heading lvl 3 +> #### Test Heading lvl 4 +> ##### Test Heading lvl 5 +> ###### Test Heading lvl 6 > This is a test paragraph. -> -> ### This is a sub heading -> -> #### This is a sub sub heading -> +> > This is another test paragraph. ### Rendering Strings as Markdown