githaven/web_src/js/markdown/content.js

6 lines
178 B
JavaScript
Raw Normal View History

import {renderMermaid} from './mermaid.js';
export default async function renderMarkdownContent() {
await renderMermaid(document.querySelectorAll('code.language-mermaid'));
}