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

Function renderMath

wasm/notebook/src/process.js:21–26  ·  view source on GitHub ↗
(math)

Source from the content-addressed store, hash-verified

19
20// Render Math with Katex
21function renderMath(math) {
22 // TODO: definitely add error handling.
23 return katex.renderToString(math, {
24 macros: { '\\f': '#1f(#2)' },
25 });
26}
27
28function runPython(pyvm, code, error) {
29 try {

Callers 1

executeNotebookFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected