Matt Bierner
afbec2027b
Fix markdown-it-katex error ( #202393 )
2024-01-12 18:46:08 -08:00
Matt Bierner
845a39b5ec
Switch to published markdown-it-katex package ( #172956 )
...
Fixes #172945
2023-01-31 13:02:35 -08:00
Ping
7fbec6dcc9
Fix KaTeX equation numbering in notebook preview ( #156276 )
...
Fixes https://github.com/microsoft/vscode/issues/155888
2022-11-02 01:09:32 -07:00
Matt Bierner
0b3574dcef
Update id of markdown-it renderer ( #153876 )
...
Fixes #153873
2022-06-30 23:19:49 +00:00
AlbertHilb
7e6b007dd5
Pass one shared macros
object into every call to katex renderer ( #148006 )
...
* Pass one shared `macros` object into every call to katex
renderer.
* Reset the `macros` object at each new
re-rendering.
2022-05-02 09:45:06 -07:00
Matt Bierner
5f5a917796
Remove test file
2022-03-23 14:49:59 -07:00
Matt Bierner
8b688986b7
Enable rendering of bare math blocks in notebooks
...
Fixes #133390
Adds support for math blocks that just start with `\begin` instead of being wrapped in dollar signs
2021-10-11 19:08:44 -07:00
Matt Bierner
0ec3d48b70
Use @types/vscode-notebook-renderer
2021-08-30 13:54:39 -07:00
Matt Bierner
affc733e4e
Fix format errors from PR
2021-08-05 14:55:55 -07:00
Christopher Yeh
4a69c3dda7
Persist KaTeX macros across render calls ( #129747 )
...
* Use KaTeX "globalGroup" for markdown rendering
* Use KaTeX "globalGroup" for markdown rendering
2021-08-05 14:37:49 -07:00
Matt Bierner
b2142b93e0
Add katex style to root of notebook
...
Fixes #128490
This is needed to ensure the katex font-face is loaded properly
Seems like this is needed to work around a bug: https://bugs.chromium.org/p/chromium/issues/detail?id=336876
2021-08-03 21:46:16 -07:00
Matt Bierner
9d626f12e8
Split MarkdownString out of MarkedString
...
`MarkedString` is deprecated so it's a little confusing that we still use the type in a few places. Instead split out the non-deprecated `MarkdownString` type
2021-06-16 14:26:18 -07:00
Matt Bierner
bc14fe9e8d
Use templates for markdown styles
...
These styles shouldn't be added into the notebook itself, only into the shadow dom of the markdown cells
2021-06-09 15:17:21 -07:00
Matt Bierner
34f0fcaf52
Rename notebook-markdown-extension
to markdown-math
...
This makes it more clear what this extension is contributing
2021-06-08 09:58:54 -07:00