fix(plugins/stackoverflow): fix markdown errors display issues (#621)
This commit is contained in:
@@ -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