1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00
TiddlyWiki5/plugins/tiddlywiki/markdown
RJ Skerry-Ryan a1d9464011
Add optional KaTeX support to markdown plugin (#5846)
* Add optional KaTeX support to the tiddlywiki/markdown plugin.

Uses the remarkable-katex plugin 1.1.8 by Brad Howes to enable KaTeX support if
the tiddlywiki/katex plugin is installed. Fixes #2984.

TESTED:

Created a test wiki with:
```
$ node tiddlywiki.js test --init markdowndemo
$ node tiddlywiki.js test --listen
```

* Verified markdown support works without the tiddlywiki/katex plugin enabled.
* Verified markdown support works with the tiddlywiki/katex plugin enabled.
* Verified KaTeX (both inline and blocks) work as expected when the
tiddlywiki/katex plugin is enabled.

* Mention remarkable-katex plugin usage in the readme Tiddler.

* Include the remarkable-katex license as a tiddler.

* Include the Remarkable license.

* Include unminified original source of remarkable-katex 1.1.8.
2021-07-06 11:32:32 +01:00
..
EditorToolbar Update codemirror and markdown plugins from #2315 2016-04-22 08:41:31 +01:00
files Add optional KaTeX support to markdown plugin (#5846) 2021-07-06 11:32:32 +01:00
images Update codemirror and markdown plugins from #2315 2016-04-22 08:41:31 +01:00
config_breaks.tid Replace Markdown parsing library with Remarkable (#3876) 2020-01-20 13:13:36 +00:00
config_linkify.tid Replace Markdown parsing library with Remarkable (#3876) 2020-01-20 13:13:36 +00:00
config_linkNewWindow.tid Replace Markdown parsing library with Remarkable (#3876) 2020-01-20 13:13:36 +00:00
config_quotes.tid Replace Markdown parsing library with Remarkable (#3876) 2020-01-20 13:13:36 +00:00
config_renderWikiText.tid Replace Markdown parsing library with Remarkable (#3876) 2020-01-20 13:13:36 +00:00
config_renderWikiTextPragma.tid Replace Markdown parsing library with Remarkable (#3876) 2020-01-20 13:13:36 +00:00
config_typographer.tid Replace Markdown parsing library with Remarkable (#3876) 2020-01-20 13:13:36 +00:00
docs_type_markdown.tid Update codemirror and markdown plugins from #2315 2016-04-22 08:41:31 +01:00
new-markdown.tid Use match operator instead of prefix 2020-01-05 13:54:06 +00:00
plugin.info Add optional KaTeX support to markdown plugin (#5846) 2021-07-06 11:32:32 +01:00
readme.tid Add optional KaTeX support to markdown plugin (#5846) 2021-07-06 11:32:32 +01:00
usage.tid Replace Markdown parsing library with Remarkable (#3876) 2020-01-20 13:13:36 +00:00
wrapper.js Add optional KaTeX support to markdown plugin (#5846) 2021-07-06 11:32:32 +01:00

title: $:/plugins/tiddlywiki/markdown/readme

This is a TiddlyWiki plugin for parsing Markdown text, using the [[Remarkable|https://github.com/jonschlinkert/remarkable]] library. If the KaTeX TiddlyWiki plugin is installed, KaTeX support is enabled using the [[remarkable-katex|https://github.com/bradhowes/remarkable-katex]] Remarkable plugin.

It is completely self-contained, and doesn't need an Internet connection in order to work. It works both in the browser and under Node.js.

[[Source code|https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/markdown]]