JSPM

@mantine/prism

3.2.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 56130
  • Score
    100M100P100Q156238F
  • License MIT

Code highlight with Mantine theme

Package Exports

  • @mantine/prism
  • @mantine/prism/cjs/index.js
  • @mantine/prism/esm/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mantine/prism) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Mantine prism

Mantine prism is a code highlight based on Mantine theme. Component uses prism-react-renderer under the hood and support light and dark theme.

Read documentation on Mantine website

Demo

Installation

Package depends on react, react-dom, @mantine/hooks, @mantine/core and prism-react-renderer.

Install with npm:

npm install @mantine/prism @mantine/core @mantine/hooks

Install with yarn:

yarn add @mantine/prism @mantine/core @mantine/hooks