mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 18:10:43 +08:00
This commit is contained in:
parent
bfd6378166
commit
a2c3c8c56f
@ -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…
Reference in New Issue
Block a user