mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-26 13:46:29 +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 },
|
||
|
],
|
||
|
});
|
||
|
});
|