m->d underline formatting support
This commit is contained in:
parent
7c2fc1536d
commit
58f5c3edf7
1 changed files with 7 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue