mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Remove markdown-it-toc because an errors are happening
This commit is contained in:
@@ -182,18 +182,6 @@ ul
|
||||
list-style-type circle
|
||||
&>li>ul
|
||||
list-style-type square
|
||||
ul.markdownIt-TOC
|
||||
list-style-type decimal
|
||||
background-color #ffffff
|
||||
padding-top 10px
|
||||
padding-bottom 10px
|
||||
ul
|
||||
list-style-type none
|
||||
a
|
||||
text-decoration none
|
||||
color #000000
|
||||
a:hover
|
||||
color #2bac8f
|
||||
ol
|
||||
list-style-type decimal
|
||||
padding-left 2em
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
@@ -61,7 +61,6 @@
|
||||
"markdown-it-checkbox": "^1.1.0",
|
||||
"markdown-it-emoji": "^1.1.1",
|
||||
"markdown-it-footnote": "^3.0.0",
|
||||
"markdown-it-toc-and-anchor": "^4.1.1",
|
||||
"md5": "^2.0.0",
|
||||
"mixpanel": "^0.4.1",
|
||||
"moment": "^2.10.3",
|
||||
|
||||
Reference in New Issue
Block a user