2020-07-27 11:54:09 +05:30
|
|
|
import {renderMermaid} from './mermaid.js';
|
2021-05-23 19:44:03 +05:30
|
|
|
import {initMarkupTasklist} from './tasklist.js';
|
2020-07-27 11:54:09 +05:30
|
|
|
|
2021-05-23 19:44:03 +05:30
|
|
|
// code that runs for all markup content
|
2021-11-09 14:57:25 +05:30
|
|
|
export function initMarkupContent() {
|
|
|
|
const _promise = renderMermaid(document.querySelectorAll('code.language-mermaid'));
|
2020-07-27 11:54:09 +05:30
|
|
|
}
|
2021-05-23 19:44:03 +05:30
|
|
|
|
|
|
|
// code that only runs for comments
|
|
|
|
export function initCommentContent() {
|
|
|
|
initMarkupTasklist();
|
|
|
|
}
|