diff --git a/shared/naturalcrit/markdown.js b/shared/naturalcrit/markdown.js index 7185cab8e..7dbc32f1a 100644 --- a/shared/naturalcrit/markdown.js +++ b/shared/naturalcrit/markdown.js @@ -234,6 +234,15 @@ const superSubScripts = { } }; +const underline = { + name : 'underline', + level : 'inline', + start(src) { return src.match(/\w_[^_]_/m)?.index;}, + tokenizer(src, tokens) { + const uRegex = /^_(?!\s)(?=([^_]*[^\s]))\1\^/m; + } +} + const definitionLists = { name : 'definitionLists', level : 'block',