0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 09:32:51 +00:00
This commit is contained in:
David Bolack
2023-12-13 15:57:00 -06:00
parent e99aad15c1
commit 67a4391dcb

View File

@@ -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',