正常换行
This commit is contained in:
@@ -56,6 +56,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
const {hljs, markdownit} = window
|
const {hljs, markdownit} = window
|
||||||
this.md = markdownit({
|
this.md = markdownit({
|
||||||
|
breaks: true,
|
||||||
highlight: function (str, lang) {
|
highlight: function (str, lang) {
|
||||||
if (lang && hljs.getLanguage(lang)) {
|
if (lang && hljs.getLanguage(lang)) {
|
||||||
try {
|
try {
|
||||||
@@ -169,7 +170,8 @@ export default {
|
|||||||
&:hover, &:active {
|
&:hover, &:active {
|
||||||
color: $primaryColor;
|
color: $primaryColor;
|
||||||
}
|
}
|
||||||
&:before{
|
|
||||||
|
&:before {
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user