123456789101112131415161718 |
- import {renderMermaid} from './mermaid.js';
- import {renderMath} from './math.js';
- import {renderCodeCopy} from './codecopy.js';
- import {renderAsciinemaPlayer} from './asciicast.js';
- import {initMarkupTasklist} from './tasklist.js';
-
- // code that runs for all markup content
- export function initMarkupContent() {
- renderMermaid();
- renderMath();
- renderCodeCopy();
- renderAsciinemaPlayer();
- }
-
- // code that only runs for comments
- export function initCommentContent() {
- initMarkupTasklist();
- }
|