mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 02:27:19 +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:
parent
80631b35ea
commit
557d1e9207
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user