This commit is contained in:
parent
189023709c
commit
243f5e2742
@ -135,7 +135,7 @@ import config from "@/config/config";
|
|||||||
const mdIt = markdownIt();
|
const mdIt = markdownIt();
|
||||||
const mdInited = ref(true);
|
const mdInited = ref(true);
|
||||||
|
|
||||||
const unsupportedLanguages = ["assembly", "blade"];
|
const unsupportedLanguages = ["assembly", "blade", "vue"];
|
||||||
mdIt.options.highlight = function (str: string, lang: string) {
|
mdIt.options.highlight = function (str: string, lang: string) {
|
||||||
if (!lang || unsupportedLanguages.includes(lang)) {
|
if (!lang || unsupportedLanguages.includes(lang)) {
|
||||||
// return str;
|
// return str;
|
||||||
|
Loading…
Reference in New Issue
Block a user