A Metalsmith plugin tied with inline-source to inline static assets like SVG, Javascript and CSS.
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.jshintrc
CHANGELOG.MD
LICENSE.md
README.md
index.js
package.json

README.md

Metalsmith-Inline-Source

A Metalsmith plugin tied with inline-source to inline static assets like SVG, Javascript and CSS.

##Installation

$ npm install metalsmith-inline-source

##Usage ###Javascript Pass the inline-source plugin into Metalsmith via the use method:

var inlineSource = require('metalsmith-inline-source');

metalsmith.use(inlineSource());

##Credit The inline-source plugin can be found here; this is simply a wrapper for Metalsmith.