From 557d1e9207849a3b2b8815aa75ed8958f46d2615 Mon Sep 17 00:00:00 2001 From: Tobias Beer Date: Sun, 11 Jan 2015 18:15:27 +0100 Subject: [PATCH] updated tw-code macro to use codeblock widget As per fix.... https://github.com/Jermolene/TiddlyWiki5/pull/1332#issuecomment-69499836 Tested, working. --- editions/tw5.com/tiddlers/system/wikitext-macros.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/system/wikitext-macros.tid b/editions/tw5.com/tiddlers/system/wikitext-macros.tid index 78705fc24..8a0fe87c4 100644 --- a/editions/tw5.com/tiddlers/system/wikitext-macros.tid +++ b/editions/tw5.com/tiddlers/system/wikitext-macros.tid @@ -30,7 +30,7 @@ $src$ \end \define tw-code(tiddler) -
<$view tiddler="$tiddler$" format="text"/>
+<$codeblock language={{$tiddler$!!type}} code={{$tiddler$}}/> \end \define tw-code-link(tiddler)