m->d underline formatting support

This commit is contained in:
Cadence Ember 2023-08-26 22:59:22 +12:00
parent 7c2fc1536d
commit 58f5c3edf7
1 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,13 @@ turndownService.addRule("strikethrough", {
}
})
turndownService.addRule("underline", {
filter: ["u"],
replacement: function (content) {
return "__" + content + "__"
}
})
turndownService.addRule("blockquote", {
filter: "blockquote",
replacement: function (content) {