2020-07-27 08:24:09 +02:00
|
|
|
import {renderMermaid} from './mermaid.js';
|
2022-09-13 18:33:37 +02:00
|
|
|
import {renderMath} from './math.js';
|
2021-11-16 09:16:05 +01:00
|
|
|
import {renderCodeCopy} from './codecopy.js';
|
2023-01-18 01:46:58 +01:00
|
|
|
import {renderAsciinemaPlayer} from './asciicast.js';
|
2021-05-23 16:14:03 +02:00
|
|
|
import {initMarkupTasklist} from './tasklist.js';
|
2020-07-27 08:24:09 +02:00
|
|
|
|
2021-05-23 16:14:03 +02:00
|
|
|
// code that runs for all markup content
|
2021-11-09 10:27:25 +01:00
|
|
|
export function initMarkupContent() {
|
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-01-18 01:46:58 +01:00
|
|
|
renderAsciinemaPlayer();
|
2020-07-27 08:24:09 +02:00
|
|
|
}
|
2021-05-23 16:14:03 +02:00
|
|
|
|
|
|
|
// code that only runs for comments
|
|
|
|
export function initCommentContent() {
|
|
|
|
initMarkupTasklist();
|
|
|
|
}
|