1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-29 11:30:28 +00:00
TiddlyWiki5/plugins/tiddlywiki/codemirror
cdruan 0c328a1696
Revamp markdown plugin (#6528)
* Rename markdown to markdown-legacy

* Change how default renderWikiTextPragma value is displayed

To prevent out-of-sync, dynamically display the default value of
renderWikiTextPragma from the shadow tiddler instead of hard coding
the text in the "usage.tid".

* Repackage remarkable-based markdown plugin as markdown-legacy

- Rename plugin title to $:/plugins/tiddlywiki/markdown-legacy

- Add support for "text/markdown" MIME type and set that as the default
  when creating new markdown tiddlers

* Create new markdown plugin

* add support to text/markdown MIME type

* remove linkify and linkNewWindow config options

- linkify feature should be controlled by "extlink" TW parser rule;
  enabling markdown's linkify option will interfere with parsing

- remove the possibility to open external links in the same tab/window
  to match TW's behavior

* Ignore latex-parser wikirule in rednerWikiTextPragma

* Prevent camel-case link text from generating a link

* Update editions/markdowndemo

* Produce better parse tree

* Improve markdown/tiddlywiki integration

- widget block should not interrupt paragraph
- ignore tw-syntax links inside markdown-syntax links
- remove repeated renderWikiTextPragma parsing
- more efficient findNextMatch when examining tw rules

* Update user docs

* Replace includes() with indexOf() for legacy browsers
2023-01-14 09:49:04 +00:00
..
config Add default "tiddlywiki" styles to CodeMirror and Highlight.js (#5128) 2020-11-28 14:07:12 +00:00
files Revamp markdown plugin (#6528) 2023-01-14 09:49:04 +00:00
settings Add missing config options to ControlPanel->Settings->CodeMirror (#5229) 2020-12-07 14:43:44 +00:00
ui/controlpanel Update core "tabs" macros to use explicitState (#4985) 2020-11-08 09:31:39 +00:00
config-language.multids Add missing config options to ControlPanel->Settings->CodeMirror (#5229) 2020-12-07 14:43:44 +00:00
edit-codemirror.js Update codemirror and markdown plugins from #2315 2016-04-22 08:41:31 +01:00
EditorTypeMappings.multids Revamp markdown plugin (#6528) 2023-01-14 09:49:04 +00:00
engine.js Allow global keyboard shortcuts to override all other shortcuts by providing a special field (#6735) 2022-10-07 17:31:04 +01:00
keyboard.tid CodeMirror 5.36.0 modularized (#3184) 2018-04-06 17:34:50 +01:00
license.tid CodeMirror 5.36.0 modularized (#3184) 2018-04-06 17:34:50 +01:00
plugin.info Improve plugin metadata, and add a "name" field 2019-09-19 13:04:10 +01:00
readme.tid Bump CodeMirror plugin version (#5184) 2020-12-02 21:12:56 +00:00
styles.tid Add foreground color to CodeMirror selections and fix #5272 (#5266) 2020-12-13 11:40:57 +00:00
usage.tid CodeMirror 5.36.0 modularized (#3184) 2018-04-06 17:34:50 +01:00

title: $:/plugins/tiddlywiki/codemirror/readme

This plugin provides an enhanced text editor component based on [[CodeMirror|http://codemirror.net]]. The basic configuration is designed to be as lightweight as possible and is just around 235kb of size. Additional features can be installed with ~CodeMirror ~AddOns from the plugin library.

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

Based on ~CodeMirror version 5.58.3