mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Remove markdown-it-toc because an errors are happening
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import markdownit from 'markdown-it'
|
||||
import emoji from 'markdown-it-emoji'
|
||||
import math from '@rokt33r/markdown-it-math'
|
||||
import tocAndAnchor from "markdown-it-toc-and-anchor"
|
||||
import _ from 'lodash'
|
||||
|
||||
const katex = window.katex
|
||||
@@ -37,9 +36,6 @@ var md = markdownit({
|
||||
md.use(emoji, {
|
||||
shortcuts: {}
|
||||
})
|
||||
md.use(tocAndAnchor, {
|
||||
anchorLink: false
|
||||
})
|
||||
md.use(math, {
|
||||
inlineRenderer: function (str) {
|
||||
let output = ''
|
||||
|
||||
Reference in New Issue
Block a user