Render code fences as full text
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5be5548634
commit
fd3c8d8e10
|
@ -173,7 +173,7 @@ if (holder) {
|
|||
})).use(MarkdownItMark)
|
||||
const options = {
|
||||
transform(text, callback) {
|
||||
let converted = MD.renderInline(text)
|
||||
let converted = (text.startsWith("```", 0)) ? MD.render(text) : MD.renderInline(text)
|
||||
return callback(converted)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user