md-pp

0.0.5 • Public • Published

Simple markdown preprocessor

Usage

  • Instal package via $ npm install -g md-pp.
  • Create variables.js next to your markdown file:
  module.exports = {
    height: "300 ft"
  }
  • Reference variable in markdown:
# Hello
The building is ${height} high
  • Run once, or continuously watch for changes:

$ md-pp test.md --watch

  • Check the newly created out folder with processed markdown:

    # Hello
    The building is 300 ft high
    

Package Sidebar

Install

npm i md-pp

Weekly Downloads

7

Version

0.0.5

License

ISC

Last publish

Collaborators

  • khrykin