0. Background
Typesetting the generated typo.css
elements usingeditor.md
html
1. Usetypo.css
1.1 Download
Download address: https://github.com/sofish/typo.css
1.2 Use
Unzip the project to public/static/
the following
main.js
introducecss
import '@/../public/static/typo.css-master/typo.css'
typo
Add a class to the tag that needs to be formatted
<!--html信息-->
<div class="typo blog-html" v-html="blog.html"></div>