JSPM

  • Created
  • Published
  • Downloads 2498
  • Score
    100M100P100Q138609F
  • 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 - PrismJS

A Svelte wrapper library around PrismJS using TypeScript for better syntax highlighting and type safety in your code.

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

Documentation

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