Open wasap opened 4 years ago
i tried to render https://raw.githubusercontent.com/request/request/master/README.md. it lags so much and uses all my CPU, my inputs becomes unclickable replaced this package with showdown. and now it works with no load <div v-html="mdHTML" /> and script
<div v-html="mdHTML" />
const showdown = require('showdown'); const converter = new showdown.Converter(); const md = await fetch(this.helpText).then(res => res.text()); this.mdHTML = converter.makeHtml(md);
this watchers kills my pc https://github.com/miaolz123/vue-markdown/blob/254e36e8f520288110eb657c6d2eb309e711419e/src/VueMarkdown.js#L229-L237
i tried to render https://raw.githubusercontent.com/request/request/master/README.md. it lags so much and uses all my CPU, my inputs becomes unclickable replaced this package with showdown. and now it works with no load
<div v-html="mdHTML" />
and script