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 363B

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