loading up the forgejo repo on tangled to test page performance
at forgejo 18 lines 486 B view raw
1import {renderMermaid} from './mermaid.js'; 2import {renderMath} from './math.js'; 3import {renderCodeCopy} from './codecopy.js'; 4import {renderAsciicast} from './asciicast.js'; 5import {initMarkupTasklist} from './tasklist.js'; 6 7// code that runs for all markup content 8export function initMarkupContent() { 9 renderMermaid(); 10 renderMath(); 11 renderCodeCopy(); 12 renderAsciicast(); 13} 14 15// code that only runs for comments 16export function initCommentContent() { 17 initMarkupTasklist(); 18}