mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-25 21:06:55 +00:00
Whitespace clean up and missing close tag
Clean up for CodeblockWidget documentation.
This commit is contained in:
parent
650a9a76df
commit
2e1ad771d6
@ -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" />' />
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user