You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

content.js 498B

123456789101112131415161718
  1. import {renderMermaid} from './mermaid.js';
  2. import {renderMath} from './math.js';
  3. import {renderCodeCopy} from './codecopy.js';
  4. import {renderAsciinemaPlayer} from './asciicast.js';
  5. import {initMarkupTasklist} from './tasklist.js';
  6. // code that runs for all markup content
  7. export function initMarkupContent() {
  8. renderMermaid();
  9. renderMath();
  10. renderCodeCopy();
  11. renderAsciinemaPlayer();
  12. }
  13. // code that only runs for comments
  14. export function initCommentContent() {
  15. initMarkupTasklist();
  16. }