mirror of
https://github.com/go-gitea/gitea
synced 2024-12-21 15:14:07 +01: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
5 lines
178 B
JavaScript
5 lines
178 B
JavaScript
import {renderMermaid} from './mermaid.js';
|
|
|
|
export default async function renderMarkdownContent() {
|
|
await renderMermaid(document.querySelectorAll('code.language-mermaid'));
|
|
}
|