mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 09:32:51 +00:00
WIP
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user