mirror of
https://github.com/mickael-kerjean/filestash
synced 2026-01-06 15:55:30 +01:00
Fix code regex.
This same principle could probably apply to the other regex.
This commit is contained in:
parent
28194b970b
commit
b535f8ebdd
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ CodeMirror.defineSimpleMode("orgmode", {
|
|||
{regex: /(^\*[^\/]*\*)/, token: ["strong"]},
|
||||
{regex: /(^\/[^\/]*\/)/, token: ["em"]},
|
||||
{regex: /(^\_[^\/]*\_)/, token: ["link"]},
|
||||
{regex: /(^\~[^\/]*\~)/, token: ["comment"]},
|
||||
{regex: /(~[^~]+~)/, token: ["comment"]},
|
||||
{regex: /(^\=[^\/]*\=)/, token: ["comment"]},
|
||||
{regex: /\[\[[^\[\]]*\]\[[^\[\]]*\]\]/, token: "url"}, // links
|
||||
{regex: /\[[xX\s]?\]/, token: 'qualifier'}, // checkbox
|
||||
|
|
|
|||
Loading…
Reference in a new issue