JSPM

  • Created
  • Published
  • Downloads 2600
  • Score
    100M100P100Q137445F
  • License MIT

A Svelte component library providing an easy to use component to display PrismJS code blocks

Package Exports

  • @magidoc/plugin-svelte-prismjs

Readme

Magidoc - Svelte PrismJS

A Svelte-PrismJS library built with TypeScript. Plugin is fully reactive. It supports change of language and code and will re-hightlight code automatically on change.

This plugin can be used in any Svelte or SvelteKit application.

Documentation

For more details on how to use this library, see the documentation