mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-11-26 14:13:38 +01:00
(feat): added mermaid rendering support in markdown (#676)
This commit is contained in:
1 parent
85f05cd698
commit
2621dfd7fc
9 files changed
+5657
-3
No files matched your search
@@ -182,5 +182,6 @@ function renderMD(md, baseUrlValue) {
|
||||
throwOnError: false,
|
||||
})
|
||||
);
|
||||
marked.use(markedMermaid());
|
||||
return DOMPurify.sanitize(marked.parse(md, { renderer }));
|
||||
}
|
||||
Reference in new issue
Block a user