Thanks Jed, your answer works and helped me a lot.

Am Samstag, 27. Februar 2016 14:18:37 UTC+1 schrieb Jed Carty:
>
> I had to do this for matlab. It isn't difficult but I remember there being 
> some annoying syntax thing that came up somewhere. I didn't run into it 
> while testing so maybe it won't be a problem.
>
> Go to the download page here (https://highlightjs.org/download/) select 
> the languages you want included in the plugin.
> Click the download button.
> In the downloaded zip file open up the file highlight.pack.js
> In the tiddler $:/plugins/tiddlywiki/highlight/highlight.js
> You want to replace everything between the first line 
> var hljs = require("$:/plugins/tiddlywiki/highlight/highlight.js");
> and the last line 
> exports.hljs = hljs;
> with the contents of highlight.pack.js
>
> Then same the tiddler and reload your wiki. I didn't get an error doing it 
> just now but I haven't tested it much.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ade9afed-e758-46a3-8ff2-66fb8fcbd86d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to