2020-07-27 01:24:09 -05:00
|
|
|
import {renderMermaid} from './mermaid.js';
|
2022-09-13 11:33:37 -05:00
|
|
|
import {renderMath} from './math.js';
|
2021-11-16 03:16:05 -05:00
|
|
|
import {renderCodeCopy} from './codecopy.js';
|
2021-05-23 09:14:03 -05:00
|
|
|
import {initMarkupTasklist} from './tasklist.js';
|
2020-07-27 01:24:09 -05:00
|
|
|
|
2021-05-23 09:14:03 -05:00
|
|
|
// code that runs for all markup content
|
2021-11-09 04:27:25 -05:00
|
|
|
export function initMarkupContent() {
|
2021-11-16 03:16:05 -05:00
|
|
|
renderMermaid();
|
2022-09-13 11:33:37 -05:00
|
|
|
renderMath();
|
2021-11-16 03:16:05 -05:00
|
|
|
renderCodeCopy();
|
2020-07-27 01:24:09 -05:00
|
|
|
}
|
2021-05-23 09:14:03 -05:00
|
|
|
|
|
|
|
// code that only runs for comments
|
|
|
|
export function initCommentContent() {
|
|
|
|
initMarkupTasklist();
|
|
|
|
}
|