diff options
Diffstat (limited to 'web_src/js/markup/content.js')
-rw-r--r-- | web_src/js/markup/content.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/web_src/js/markup/content.js b/web_src/js/markup/content.js new file mode 100644 index 00000000..1d29dc07 --- /dev/null +++ b/web_src/js/markup/content.js @@ -0,0 +1,18 @@ +import {renderMermaid} from './mermaid.js'; +import {renderMath} from './math.js'; +import {renderCodeCopy} from './codecopy.js'; +import {renderAsciicast} from './asciicast.js'; +import {initMarkupTasklist} from './tasklist.js'; + +// code that runs for all markup content +export function initMarkupContent() { + renderMermaid(); + renderMath(); + renderCodeCopy(); + renderAsciicast(); +} + +// code that only runs for comments +export function initCommentContent() { + initMarkupTasklist(); +} |