Commit graph

8 commits

Author SHA1 Message Date
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