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

metalsmith-metallic

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith-metallic

A Metalsmith plugin to hightlight code blocks in markdown using highlight.js.

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
413
decreased by-20.12%
Maintainers
1
Weekly downloads
 
Created
Source

metalsmith-metallic

A Metalsmith plugin to highlight code in Markdown files.

Installation

$ npm install metalsmith-metallic

Setup

Include a highlight.js theme somewhere in your templates.

Ex:

<link rel="stylesheet" href="http://yandex.st/highlightjs/8.0/styles/default.min.css">

CLI Usage

Install via npm and then add the metalsmith-metallic key to your metalsmith.json plugin, like so:

{
  "plugins": {
    "metalsmith-metallic": true
  } 
}

Javascript Usage

var metallic = require('metalsmith-metallic');

metalsmith.use(metallic());

License

MIT

FAQs

Package last updated on 10 Mar 2014

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