pngwn / MDsveX

A markdown preprocessor for Svelte.
https://mdsvex.pngwn.io
MIT License
2.35k stars 101 forks source link

Make dependency on prism optional #614

Open benmccann opened 1 month ago

benmccann commented 1 month ago

Whenever the next major rolls around, it might be nice if prism was an optional dependency for folks that would prefer to use shiki

pngwn commented 1 month ago

Prism will almost definitely be removed completely in the next major. It isn't very friendly to non-node environments.

There are a number of other highlighting issues here: https://github.com/pngwn/MDsveX/issues/588

It is possible that a different highlighting solution altogether will be used though.