Commit Graph

24 Commits

Author SHA1 Message Date
Matt Bierner
03561955b7 Clean up esbuilding of extensions
- Make sure we still always type check using `tsgo --noEmit`
- Align names of esbuild files
- Convert all esbuild files to typescript. We use the `.mts` extension to avoid annoying node warnings about using pacakges
2026-02-11 14:57:16 -08:00
Matt Bierner
f272e51947 Convert esbuild scripts to modules
Planning to convert to typescript but want to do it in a few smaller steps
2025-08-07 20:04:44 -07:00
Matt Bierner
0ba52498bf Pick up latest md katex plugin 2025-07-08 11:03:47 -07:00
João Moreno
f6ec9aa2e6 bump katex (#238271) 2025-01-20 10:39:21 +01:00
Matt Bierner
5980b0f835 Pick up latest markdown-it-katex 2024-12-12 14:46:28 -08:00
aaronchucarroll
a35380d6f0 Adds support for Github-style fenced math blocks in markdown editor and preview (#213750)
* added support for markdown fenced math blocks

* original markdownEngine.ts

* Add fenced math block rendering to markdown-math

* Update dependencies

* custom parser for fenced math blocks

* custom parser for fenced math blocks

* reverted changes to extension.ts

* reverted all changes from prior implementations

* proper fence grammar implementation for math

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2024-07-12 04:51:37 +00:00
Matt Bierner
cef334b38c Enable rendering of math fenced code blocks (#219820)
Fixes #174731
2024-07-11 11:53:56 -07:00
Matt Bierner
0e51e71619 Pick up latest katex (#202776) 2024-01-18 15:18:39 -08:00
Sandeep Somavarapu
1e0580ec23 Use categories for builtin extensions groups (#202453)
* support grouping of extensions

* remove grouping

* reuse categories parsing

* cleanup

* fix tests
2024-01-14 18:19:29 +01:00
Matt Bierner
afbec2027b Fix markdown-it-katex error (#202393) 2024-01-12 18:46:08 -08:00
Matt Bierner
39e866b964 Pick up latest markdown-it-katex (#202178) 2024-01-10 19:04:33 +01:00
AlbertHilb
2929ec4996 Add macros entry to markdown-math configuration (#180458)
section.
2023-06-20 23:31:26 +02:00
robincaloudis
63b07dbd7f Fix wrong language scope in markdown inline math expression (#172957)
Let 3rd matching group be an end

Previously, the first and third group was
defined as beginning. This is not
true as the first group of the regular
expression is the beginning of the math
inline markdown expression and the third
group the _end_. Once the third group is
correctly assigned, its language scope can
be changed accordingly.
2023-02-01 06:44:37 -08:00
Matt Bierner
845a39b5ec Switch to published markdown-it-katex package (#172956)
Fixes #172945
2023-01-31 13:02:35 -08:00
Logan Ramos
a20329d291 Switch extensions to 1DS (#154299)
* Move extensions to 1DS

* Switch extensions to 1DS
2022-07-06 17:18:41 -07:00
Matt Bierner
0b3574dcef Update id of markdown-it renderer (#153876)
Fixes #153873
2022-06-30 23:19:49 +00:00
Matt Bierner
a00e138040 Changing dependency syntax for markdown-it-katex (#149962)
Fixes #149291
2022-05-19 18:25:45 +00:00
Matt Bierner
7987c49a08 Use latex as language mode inside markdown math blocks
Fixes #142022

We added simple latex language support recently, so use this instead of our old `markdown-math` language
2022-02-03 08:49:41 -08:00
Matt Bierner
0ec3d48b70 Use @types/vscode-notebook-renderer 2021-08-30 13:54:39 -07:00
Rob Lourens
81a3dceec5 Fix #131113 2021-08-19 08:03:58 -07:00
Matt Bierner
9d443dd8c4 Pull in copied katex css instead of node_modules 2021-06-29 22:37:19 -07:00
Matt Bierner
2ae31a96cf Add math grammar/language to markdown math blocks
Fixes #124719
2021-06-17 18:01:19 -07:00
Matt Bierner
0a57fd87b1 Enable math in markdown preview
Fixes #124783
2021-06-08 09:58:54 -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