fix(plugins/stackoverflow): fix markdown errors display issues (#621)
This commit is contained in:
1 parent
7fffb151c5
commit
6126a8e9f2
1 file changed
+1
-1
@@ -218,7 +218,7 @@ export async function which(command) {
|
||||
}
|
||||
|
||||
/**Code hightlighter */
|
||||
export async function highlight(code, lang) {
|
||||
export function highlight(code, lang) {
|
||||
return lang in prism.languages ? prism.highlight(code, prism.languages[lang]) : code
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user