mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-10 14:56:06 +00:00
fixes of a newbie, me
This commit is contained in:
@@ -19,7 +19,7 @@ Wraps up the fenced code blocks parser for highlight and use in TiddlyWiki5
|
||||
lang = this.domNodes[0].getElementsByTagName('code')[0].className,
|
||||
hljs = require("$:/plugins/tiddlywiki/highlight/highlight.js").hljs;
|
||||
|
||||
if ($tw.browser && lang !== 'no-highlight') {
|
||||
if($tw.browser && lang !== 'no-highlight') {
|
||||
hljs.tabReplace = ' ';
|
||||
hljs.highlightBlock(this.domNodes[0]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user