miaolz123 / vue-markdown

A Powerful and Highspeed Markdown Parser for Vue
https://miaolz123.github.io/vue-markdown/
MIT License
1.89k stars 257 forks source link

Disable features of markdown-it on import #13

Open Julien76 opened 7 years ago

Julien76 commented 7 years ago

Hi,

Thanks for this awesome markdown plugin for vue-js.

Is there a way to disable on import some of the markdown features? Because right, I don't use neither TOC nor Katex, and those ones depend on:

for TOC: uslug + unorm = 50kb + 36kb = 86kb (gzipped) for katex: katex = 30kb (gzipped) So disabling those two features on import, will save 116kb, that is 40% of the size of my app.

Thanks.

miaolz123 commented 7 years ago

It's indeed a question I also have considered before.

I have been trying to solve this problem, but there is no viable solution until now.

I will continue to work hard fix it ~

theworkerant commented 5 years ago

I noticed this same issue, any updates or workarounds?