mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-03 11:28:01 +00:00
Whitespace clean up and missing close tag
Clean up for CodeblockWidget documentation.
This commit is contained in:
@@ -24,11 +24,11 @@ The content of the `<$codeblock>` widget is ignored.
|
|||||||
|
|
||||||
Here is an example embedding the contents of a tiddler as a code block.
|
Here is an example embedding the contents of a tiddler as a code block.
|
||||||
|
|
||||||
<$macrocall $name='wikitext-example-without-html'
|
<$macrocall $name='wikitext-example-without-html'
|
||||||
src='<$codeblock code={{$:/editions/tw5.com/macro-examples/say-hi}}>'/>
|
src='<$codeblock code={{$:/editions/tw5.com/macro-examples/say-hi}} />' />
|
||||||
|
|
||||||
A codeblock may also specify a language.
|
A codeblock may also specify a language.
|
||||||
|
|
||||||
<$macrocall $name='wikitext-example-without-html'
|
<$macrocall $name='wikitext-example-without-html'
|
||||||
src='<$codeblock code="SELECT * FROM users WHERE deleted = false" language="sql">'/>
|
src='<$codeblock code="SELECT * FROM users WHERE deleted = false" language="sql" />' />
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user