mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07: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
|
||||
|
||||
\define tw-code(tiddler)
|
||||
<pre><code><$view tiddler="$tiddler$" format="text"/></code></pre>
|
||||
<$codeblock language={{$tiddler$!!type}} code={{$tiddler$}}/>
|
||||
\end
|
||||
|
||||
\define tw-code-link(tiddler)
|
||||
|
Loading…
Reference in New Issue
Block a user