mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-25 10:26:29 +08:00
b39c2a94d3
Move docs/overrides to overrides/. Other fine tunes.
10 lines
305 B
JavaScript
10 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 },
|
|
],
|
|
});
|
|
});
|