aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/markup/content.js
blob: 319c229385a3db9a5590af143988ddeb384cb33a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import {renderMermaid} from './mermaid.js';
import {renderMath} from './math.js';
import {renderCodeCopy} from './codecopy.js';
import {initMarkupTasklist} from './tasklist.js';

// code that runs for all markup content
export function initMarkupContent() {
  renderMermaid();
  renderMath();
  renderCodeCopy();
}

// code that only runs for comments
export function initCommentContent() {
  initMarkupTasklist();
}