mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 09:36:18 +00:00
dd6e00687b
* feat: first pass at allowing pragmas to be indented * Added documentation
36 lines
620 B
Plaintext
36 lines
620 B
Plaintext
title: Pragmas/Parsermode-indented
|
|
description: parsermode pragma
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
{{AlwaysInline}}
|
|
|
|
{{AlwaysBlock}}
|
|
|
|
{{AlwaysInline}}{{AlwaysBlock}}
|
|
|
|
+
|
|
title: AlwaysInline
|
|
|
|
\parsermode inline
|
|
! Not Heading
|
|
|
|
Text with ''bold''
|
|
+
|
|
title: AlwaysBlock
|
|
|
|
\parsermode block
|
|
! Heading
|
|
|
|
Text with ''bold''
|
|
+
|
|
title: ExpectedResult
|
|
|
|
! Not Heading
|
|
|
|
Text with <strong>bold</strong><h1 class="">Heading</h1><p>Text with <strong>bold</strong></p><p>! Not Heading
|
|
|
|
Text with <strong>bold</strong><h1 class="">Heading</h1><p>Text with <strong>bold</strong></p>
|
|
</p> |