正常换行

This commit is contained in:
aixianling
2024-08-26 17:36:27 +08:00
parent cb4c7dd623
commit f007dc84e7

View File

@@ -56,6 +56,7 @@ export default {
mounted() {
const {hljs, markdownit} = window
this.md = markdownit({
breaks: true,
highlight: function (str, lang) {
if (lang && hljs.getLanguage(lang)) {
try {
@@ -169,7 +170,8 @@ export default {
&:hover, &:active {
color: $primaryColor;
}
&:before{
&:before {
margin-right: 2px;
}
}