Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including metalsmith-myth with all npm packages installed. Try it out:

var metalsmithMyth = require("metalsmith-myth")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

metalsmith-myth v0.0.0

A Myth plugin for Metalsmith.

metalsmith-myth

A Metalsmith plugin to preprocess CSS files with Myth.

Installation

$ npm install metalsmith-myth

CLI Usage

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

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

JavaScript Usage

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

metalsmith.use(myth(options));

Options

myth({...})TypeDescription
filesStringMinimatch pattern of files to match. Default: *.css.

Plus the options supported by Myth itself excluding source which is set by the plugin.


Copyright © 2014 Kasper Kronborg Isager. Licensed under the terms of the MIT license.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free