Socket
Socket
Sign inDemoInstall

metalsmith-metallic

Package Overview
Dependencies
3
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith-metallic


Version published
Weekly downloads
395
decreased by-30.21%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

metalsmith-metallic travis status npm version

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="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.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

Keywords

FAQs

Last updated on 22 Mar 2019

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc