Matt Bierner
9ab80019bf
Use forked markdown-it-katex version
2021-03-30 16:08:34 -07:00
Matt Bierner
d4412e708a
Render markdown preview cells inside a shadow dom ( #120137 )
...
* Render markdown preview cells inside a shadow dom
Fixes #119971
This moves all markdown previews into shadow doms. This lets us prevent styles from outside the preview leak into the preview, and also prevents styles from the preview leak out into the rest of the notebook
* Use composedPath for handling events in webviews
This lets us handle clicks triggered inside of a shadow dom
2021-03-30 14:17:15 -07:00
Matt Bierner
5c0c637a04
Make sure we ignore compiled media files
2021-03-19 12:12:59 -07:00
Matt Bierner
c0885dd0c4
Add task to build extension media ( #119294 )
...
This lets us avoid checking in the compiled js files that are used inside webviews and notebooks
2021-03-18 19:15:59 -07:00
Matt Bierner
111a6cec70
Don't include build files in repo
2021-03-17 17:57:09 -07:00
Matt Bierner
3e4c057624
Make sure we exclude ts files from published build
2021-03-17 17:53:23 -07:00
Matt Bierner
fc8d7681c4
Make sure katex styles are shipped under root of
...
Also copies of just the katex css we need instead of bundling the entire module
2021-03-16 17:43:52 -07:00
Matt Bierner
581a659d42
Update markdown notebook scripts
2021-03-16 17:28:29 -07:00
Matt Bierner
d31566b57f
Don't include css in main katex bundle
2021-03-11 14:03:01 -08:00
Matt Bierner
9b2ee7fb7d
Reduce size of Katex bundle
...
Only load woff2 fonts instead of including all fallback font types in the bundle
2021-03-10 19:56:46 -08:00
Matt Bierner
b3a33306fb
Add markdown emoji for testing in notebooks
2021-02-22 18:10:27 -08:00
Matt Bierner
6a9f8ac758
Rename markdown math extension to notebook-markdown-extensions
...
We will use this to experiment with different types of extensions, not just math
2021-02-22 16:07:48 -08:00