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