Commit graph

29 commits

Author SHA1 Message Date
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 b614fb5db8
Fix highlighting of dollar amount at start of line in md files
Fixes #136535
2021-11-08 17:53:52 -08:00
Matt Bierner 0eee604f01
Allow non-word character after inline math code block
Fixes #136584
2021-11-08 17:43:46 -08:00
Matt Bierner 17dc026824
Fix a few more cases of math block highlighting
Fixes #135254
2021-10-20 15:56:28 -07:00
Matt Bierner c38d441d37
Make sure inline math is marked as markdown-math
For https://github.com/microsoft/vscode/issues/134893#issuecomment-947669488
2021-10-20 14:22:44 -07:00
Matt Bierner 3dc7b03ff9
Allow leading and trailing math on same line as math block
Fixes #134893
2021-10-20 14:17:46 -07:00
Matt Bierner 04f51add61
Disable markdown math inside of raw code blocks
For #135254
2021-10-20 13:29:28 -07:00
Matt Bierner 41df0673f8
Allow spaces in katex commands
Fixes #128411
2021-10-14 16:00:00 -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
Rob Lourens 81a3dceec5 Fix #131113 2021-08-19 08:03:58 -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 a4eb4d6884
Update math fixture 2021-08-05 14:00:36 -07:00
Matt Bierner f8cc75937a
Fix syntax highlighting of math in markdown lists
Fixes #128411
2021-08-05 13:32:55 -07:00
Matt Bierner dc54347a27
Exclude a few extra build files from build 2021-08-05 13:32:54 -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
gregvanl 91ae221db4 Settings description typos 2021-07-26 11:47:38 -07:00
Matt Bierner 0e09ae9244
Don't include node types in markdown-math 2021-07-22 17:53:53 -07:00
Matt Bierner 3d2a28fcd8
Disable math highlighting in markdown fenced code blocks 2021-07-01 15:46:56 -07:00
Matt Bierner cf2d68daba
Add markdown math support readme
Fixes #127692
2021-07-01 10:18:50 -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 e992821871
Remove console.log 2021-06-17 18:01:19 -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 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