1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 19:47:20 +00:00

Fix strange links in $:/plugins/tiddlywiki/highlight/usage (#8487)

* Normalize links in highlight usage

* Revert to use define
This commit is contained in:
Leilei332 2024-08-05 22:29:16 +08:00 committed by GitHub
parent d9ac4a823f
commit 885faf964b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,8 +31,8 @@ You can import language definitions into <$text text="JavaScript"/> tiddlers, wi
First, locate the language file(s) you need. You can fetch the files from the following CDNs:
* <a href=<<jsDelivrLink>>>jsDelivr</a>
* <a href=<<unpkgLink>>>unpkg</a>
* <a href=<<jsDelivrLink>> class="tc-tiddlylink-external" target="_blank">jsDelivr</a>
* <a href=<<unpkgLink>> class="tc-tiddlylink-external" target="_blank">unpkg</a>
Then, click the button below to create a "highlight" module. Copy and paste the content of a language file into the the text area. Give your tiddler a meaningful title so you can keep track of the languages you've installed. You may choose to either create one tiddler per language or lump all language definitions into one tiddler. Save and reload your wiki.