1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Whitespace clean up and missing close tag

Clean up for CodeblockWidget documentation.
This commit is contained in:
Tony Grosinger 2015-10-04 13:05:46 -07:00
parent 650a9a76df
commit 2e1ad771d6

View File

@ -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.
<$macrocall $name='wikitext-example-without-html'
src='<$codeblock code={{$:/editions/tw5.com/macro-examples/say-hi}}>'/>
<$macrocall $name='wikitext-example-without-html'
src='<$codeblock code={{$:/editions/tw5.com/macro-examples/say-hi}} />' />
A codeblock may also specify a language.
<$macrocall $name='wikitext-example-without-html'
src='<$codeblock code="SELECT * FROM users WHERE deleted = false" language="sql">'/>
<$macrocall $name='wikitext-example-without-html'
src='<$codeblock code="SELECT * FROM users WHERE deleted = false" language="sql" />' />