mirror of https://github.com/status-im/codimd.git
Revert mdTokens changes
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
This commit is contained in:
parent
cec3c45c2e
commit
731cec6966
|
@ -2786,9 +2786,7 @@ function updateViewInner () {
|
|||
var lastMeta = md.meta
|
||||
md.meta = {}
|
||||
delete md.metaError
|
||||
const mdEnv = {}
|
||||
window.mdTokens = md.parse(value, mdEnv)
|
||||
let rendered = md.renderer.render(window.mdTokens, md.options, mdEnv)
|
||||
var rendered = md.render(value)
|
||||
if (md.meta.type && md.meta.type === 'slide') {
|
||||
var slideOptions = {
|
||||
separator: '^(\r\n?|\n)---(\r\n?|\n)$',
|
||||
|
|
Loading…
Reference in New Issue