1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Remove markdown-it-toc because an errors are happening

This commit is contained in:
asmsuechan
2017-03-19 23:32:51 -07:00
parent 1b474e1c28
commit 4f116cba34
3 changed files with 0 additions and 17 deletions

View File

@@ -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

View File

@@ -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 = ''