This commit is contained in:
parent
bfd6378166
commit
a2c3c8c56f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ export const processPasteCode = (html: string, text: string) => {
|
|||
|
||||
export const processRender = (previewPanel: Element) => {
|
||||
const language = previewPanel.getAttribute("data-subtype");
|
||||
if (!language) {
|
||||
if (!["abc", "plantuml", "mermaid", "flowchart", "echarts", "mindmap", "graphviz", "math"].includes(language)) {
|
||||
abcRender(previewPanel);
|
||||
plantumlRender(previewPanel);
|
||||
mermaidRender(previewPanel);
|
||||
|
|
Loading…
Add table
Reference in a new issue