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