MCPcopy Index your code
hub / github.com/RustPython/RustPython / renderMarkdown

Function renderMarkdown

wasm/notebook/src/process.js:11–18  ·  view source on GitHub ↗
(md)

Source from the content-addressed store, hash-verified

9
10// Render Markdown with imported marked compiler
11function renderMarkdown(md) {
12 // TODO: add error handling and output sanitization
13 let settings = {
14 headerIds: true,
15 breaks: true,
16 };
17 return marked(md, settings);
18}
19
20// Render Math with Katex
21function renderMath(math) {

Callers 1

executeNotebookFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected