mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 18:44:16 +00:00
e61c09ed73
- Add loading spinners on editor and mermaid renderers - Add error handling and inline error box for mermaid - Fix Mermaid rendering by using the .init api
6 lines
178 B
JavaScript
6 lines
178 B
JavaScript
import {renderMermaid} from './mermaid.js';
|
|
|
|
export default async function renderMarkdownContent() {
|
|
await renderMermaid(document.querySelectorAll('code.language-mermaid'));
|
|
}
|