JSPM

  • Created
  • Published
  • Downloads 2498
  • Score
    100M100P100Q140210F
  • License MIT

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

Package Exports

  • @magidoc/plugin-svelte-prismjs
  • @magidoc/plugin-svelte-prismjs/components/Prism.svelte
  • @magidoc/plugin-svelte-prismjs/components/beforeImport
  • @magidoc/plugin-svelte-prismjs/package.json

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