mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-27 16:36:30 +08:00
11 lines
305 B
JavaScript
11 lines
305 B
JavaScript
|
document$.subscribe(({ body }) => {
|
||
|
renderMathInElement(body, {
|
||
|
delimiters: [
|
||
|
{ left: "$$", right: "$$", display: true },
|
||
|
{ left: "$", right: "$", display: false },
|
||
|
{ left: "\\(", right: "\\)", display: false },
|
||
|
{ left: "\\[", right: "\\]", display: true },
|
||
|
],
|
||
|
});
|
||
|
});
|