Socket
Socket
Sign inDemoInstall

prismjs-darcula-theme

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    prismjs-darcula-theme

PrismJS Darcula syntax highlighting theme based on the JetBrains IDEs


Version published
Weekly downloads
29
decreased by-68.48%
Maintainers
1
Install size
7.23 kB
Created
Weekly downloads
 

Readme

Source

PrismJS Darcula Theme

npm license

A syntax highlighting theme for PrismJS based on the Darcula theme from the JetBrains IDEs.

Examples

Example screenshot

Check out more examples and other languages on GitHub pages.

Usage

HTML

Download and include the compiled stylesheet in the head of your html:

<link href="darcula.css" rel="stylesheet" />

Gatsby

This theme can be used in Gatsby with gatsby-remark-prismjs. Simply install the package using:

npm install prismjs-darcula-theme

And add this line in gatsby-browser.js:

import 'prismjs-darcula-theme/darcula.css';

Development

Run npm run docs:watch to watch darcula.scss for file changes, compiling it to docs/darcula.css. To compile the file without watching for changes, use npm run docs. Open docs/index.html in your browser to view the results.

Keywords

FAQs

Last updated on 09 Jun 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc