add simple line break
This commit is contained in:
1 parent
4fb41de0f1
commit
e4e364ae2a
8 files changed
+123
-73
No files matched your search
@@ -22,10 +22,20 @@ export class MakeHTML {
|
||||
backslashEscapesHTMLTags: true,
|
||||
emoji: true,
|
||||
underline: true,
|
||||
disableForced4SpacesIndentedSublists: true,
|
||||
metadata: true,
|
||||
})
|
||||
|
||||
constructor() {
|
||||
this.mdConverter.addExtension(
|
||||
{
|
||||
type: 'lang',
|
||||
regex: /\\\n/g,
|
||||
replace: '<br />',
|
||||
},
|
||||
'commonmark-simple-linebreak'
|
||||
)
|
||||
|
||||
/**
|
||||
* ! For some reasons default underscore italic fails to render...
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user