20 lines · 552 B · JavaScript
RawDownload
import {renderMermaid} from './mermaid.js';import {renderMath} from './math.js';import {renderCodeCopy} from './codecopy.js';import {renderAsciicast} from './asciicast.js';import {renderExternal} from './external.js';import {initMarkupTasklist} from './tasklist.js'; // code that runs for all markup contentexport function initMarkupContent() {  renderMermaid();  renderMath();  renderCodeCopy();  renderAsciicast();  renderExternal();} // code that only runs for commentsexport function initCommentContent() {  initMarkupTasklist();}