2024-07-07 17:32:30 +02: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 08:24:09 +02:00
|
|
|
|
2021-05-23 16:14:03 +02:00
|
|
|
// code that runs for all markup content
|
2024-11-11 12:13:57 +01:00
|
|
|
export function initMarkupContent(): void {
|
2021-11-16 09:16:05 +01:00
|
|
|
renderMermaid();
|
2022-09-13 18:33:37 +02:00
|
|
|
renderMath();
|
2021-11-16 09:16:05 +01:00
|
|
|
renderCodeCopy();
|
2023-04-17 12:10:22 +02:00
|
|
|
renderAsciicast();
|
2020-07-27 08:24:09 +02:00
|
|
|
}
|
2021-05-23 16:14:03 +02:00
|
|
|
|
|
|
|
// code that only runs for comments
|
2024-11-11 12:13:57 +01:00
|
|
|
export function initCommentContent(): void {
|
2021-05-23 16:14:03 +02:00
|
|
|
initMarkupTasklist();
|
|
|
|
}
|