Commit Graph

13 Commits

Author SHA1 Message Date
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
afbec2027b Fix markdown-it-katex error (#202393) 2024-01-12 18:46:08 -08:00
AlbertHilb
2929ec4996 Add macros entry to markdown-math configuration (#180458)
section.
2023-06-20 23:31:26 +02:00
Matt Bierner
845a39b5ec Switch to published markdown-it-katex package (#172956)
Fixes #172945
2023-01-31 13:02:35 -08: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
Johannes Rieken
68e819043c use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken
9254a8cd27 move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01: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
0e09ae9244 Don't include node types in markdown-math 2021-07-22 17:53:53 -07:00
Matt Bierner
e992821871 Remove console.log 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