Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@svelteuidev/prism

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svelteuidev/prism

Code highlight with SvelteUI theme

  • 0.6.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
increased by7.14%
Maintainers
1
Weekly downloads
 
Created
Source

SvelteUI Prism

code highlight component built with prism action

  • Package includes the Prism component that is used to give Code highlighting.
  • This package relies on the @svelteuidev/actions & @svelteuidev/core packages, so they will come together!

Documentation

See full documentation on svelteui website

Installation

# With yarn
yarn add @svelteuidev/prism

# With npm
npm install @svelteuidev/prism

Usage

<script>
    import { Prism } from '@svelteuidev/prism';

    const code = `
    const obj = {
        name: "Josh",
        age: "age"
    }
    `
</script>

<Prism block message={code}>{code}</Prism>;

License

All SvelteUI packages have MIT license. All SvelteUI dependencies also have MIT license.

Keywords

FAQs

Package last updated on 14 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc