Skip to content

use vscode-markdown-it-katex to render kaTex#386

Open
ZekeLu wants to merge 2 commits intoyzane:masterfrom
ZekeLu:katex
Open

use vscode-markdown-it-katex to render kaTex#386
ZekeLu wants to merge 2 commits intoyzane:masterfrom
ZekeLu:katex

Conversation

@ZekeLu
Copy link

@ZekeLu ZekeLu commented Nov 10, 2024

  1. it bundles the extension with esbuild to reduce the size of the extension (from 9.8M to 1.5M).
  2. it renders KaTex with @vscode/markdown-it-katex which is the same one used by VS Code.

Fixes #17, #21, #167, #355.
And it's an alternative to #198.

Anyone who wants to try it, download the extension from https://github.com/ZekeLu/vscode-markdown-pdf/releases/tag/1.5.1 and install it manually.

@samantonio28
Copy link

i tryed to install this, it started downloading Chromium, is it ok that it takes so much time? Will it work after installing Chromium?
Also I got the error that the file in c/.../node_modules/... doesn't exist. I tryed to copy all node_modules directory on the level of README-s to fix it, I don't know if this behavior is correct :)

@samantonio28
Copy link

so, i copied node_modules from 1.5.0. version, installed Chromium and now it's works :)

@yzane yzane added the math label Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Markdown Math?

3 participants