1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

updated tw-code macro to use codeblock widget

As per fix....

https://github.com/Jermolene/TiddlyWiki5/pull/1332#issuecomment-69499836

Tested, working.
This commit is contained in:
Tobias Beer 2015-01-11 18:15:27 +01:00
parent 80631b35ea
commit 557d1e9207

View File

@ -30,7 +30,7 @@ $src$
\end \end
\define tw-code(tiddler) \define tw-code(tiddler)
<pre><code><$view tiddler="$tiddler$" format="text"/></code></pre> <$codeblock language={{$tiddler$!!type}} code={{$tiddler$}}/>
\end \end
\define tw-code-link(tiddler) \define tw-code-link(tiddler)