0.1.2 • Published 8 years ago

lets-markdown-to-business v0.1.2

Weekly downloads
7
License
ISC
Repository
github
Last release
8 years ago

Let's markdown to business

forthebadge npm version

To install, run

npm install -g lets-markdown-to-business

Then to use the tool, run

md2b "path/to/markdown-file-to-convert.md" ["path/to/output-file-name.html"]

The output is optional. If nothing is specified the html file will be saved in the same location as the input file, with the same name as the input file, but with a .html extension.

Requires Node version 4.0.0 or higher.

Developed to make life easier for myself when I want to convert markdown documents to html, and to try out classes with ES6.

The goal with this tool is to have an easy way to convert single markdown documents into self-contained html-files. This means that the converted html-file will contain all styling and stuff necessary to be viewed on any computer/device without internet connection.

The current version converts the markdown document into a pretty html file, styled with the alpha version of Bootstrap 4.0.

This tool uses markdown-it to convert the markdown documents, and mustache to do the templating.

Development

To get started, run npm install to get dependencies, and npm link to tell node about the md2b command.

References