summaryrefslogtreecommitdiffstats
path: root/web_src/js/markup/content.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/markup/content.js')
-rw-r--r--web_src/js/markup/content.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/web_src/js/markup/content.js b/web_src/js/markup/content.js
new file mode 100644
index 0000000000..f06c9908f2
--- /dev/null
+++ b/web_src/js/markup/content.js
@@ -0,0 +1,5 @@
+import {renderMermaid} from './mermaid.js';
+
+export async function renderMarkupContent() {
+ await renderMermaid(document.querySelectorAll('code.language-mermaid'));
+}