mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 19:47:20 +00:00
f6ff0a7f71
A warning message appears at the top of the story river if any `$:/tags/stylesheet` tags are found. Fixing the first half of #824
20 lines
703 B
Plaintext
20 lines
703 B
Plaintext
title: HelloThere
|
|
|
|
This is a demo of TiddlyWiki5 incorporating a plugin for the [[highlight.js|https://github.com/isagalaev/highlight.js]] syntax highlighting library from Ivan Sagalaev.
|
|
|
|
! Usage
|
|
|
|
The HighlightExample tiddler shows how fenced code blocks can have a language specifier added to trigger highlighting.
|
|
|
|
! Installation
|
|
|
|
To add this plugin to your own TiddlyWiki5, just drag this link to the browser window:
|
|
|
|
[[$:/plugins/tiddlywiki/highlight]]
|
|
|
|
! Adding Themes
|
|
|
|
You can add themes from highlight.js by copying the CSS to a new tiddler and tagging it with [[$:/tags/Stylesheet]]. The available themes can be found on GitHub:
|
|
|
|
https://github.com/isagalaev/highlight.js/tree/master/src/styles
|