pablo-abc / svelte-markdown

Markdown parser to svelte components
MIT License
360 stars 50 forks source link

Upgrade marked to v5 #74

Closed nwaughachukwuma closed 1 year ago

nwaughachukwuma commented 1 year ago

Summary

This PR includes an upgrade to marked, the base markdown parser library, from v4 to v5, and other minor refactoring.

P.S. I've replace rollup with Vite owing to the fact that

  1. Vite supports rollup as first class citizen and exposes rollup plugin interface.
  2. Svelte core also uses Vite
  3. To keep things consistent with Vitest.

Please let me know if you require the changes to the bundler as a separate PR.

nwaughachukwuma commented 1 year ago

cc @pablo-abc

pablo-abc commented 1 year ago

Thanks! I appreciate the change to Vite. I'll take a look at the rest of the changes later tonight.

Niek commented 1 year ago

Any chance that this can be merged and released as a new version @pablo-abc?