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