0.1.0 • Published 10 years ago

yoylr4393478493 v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

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

0.1.0

10 years ago