I have colouring for javascript. when the tiddler is “idle” but not when I edet it. I’ve installed $:/plugins/tiddlywiki/highlight
And what I’m asking is syntax coloration for tw5 contents.
So I halt my server (I’m running tw on node.js)’ edit my tiddlywiki.info file to include codemirror
{
"description": "Basic client-server edition",
"languages" : [
"fr-FR"
],
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/highlight",
"tiddlywiki/codemirror"
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
],
"build": {
"index": [
"--rendertiddler",
"$:/plugins/tiddlywiki/tiddlyweb/save/offline",
"index.html",
"text/plain"
],
"static": [
"--rendertiddler",
"$:/core/templates/static.template.html",
"static.html",
"text/plain",
"--rendertiddler",
"$:/core/templates/alltiddlers.template.html",
"alltiddlers.html",
"text/plain",
"--rendertiddlers",
"[!is[system]]",
"$:/core/templates/static.tiddler.html",
"static",
"text/plain",
"--rendertiddler",
"$:/core/templates/static.template.css",
"static/static.css",
"text/plain"
]
}
}
And after that I restart the server and update the browser. I can see code mirror plugin installed. But no new coloring functionality! Where am I wrong?
BTW what is this “static” array in the json?