# lets-markdown-to-business

> Converts markdown to pretty and self-contained html documents.

Latest version **0.1.2** (published 2015-12-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install lets-markdown-to-business
pnpm add lets-markdown-to-business
yarn add lets-markdown-to-business
bun add lets-markdown-to-business
```

Provides the command `md2b`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2015-12-06 |
| First published | 2015-11-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4.0.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | Tomas Ruud |
| Maintainers | tomasruud |
| Keywords | markdown, markdown-it, html, bootstrap, convert |

## Links

- npm: https://www.npmjs.com/package/lets-markdown-to-business
- Repository: https://github.com/tomasruud/lets-markdown-to-business
- Homepage: https://github.com/tomasruud/lets-markdown-to-business#readme
- Issues: https://github.com/tomasruud/lets-markdown-to-business/issues
- npm.io page: https://npm.io/package/lets-markdown-to-business

## Dependencies (3)

- [mustache](https://npm.io/package/mustache.md) ^2.2.0
- [markdown-it](https://npm.io/package/markdown-it.md) ^5.0.1
- [markdown-it-anchor](https://npm.io/package/markdown-it-anchor.md) ^2.3.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2015-12-06
- 0.1.1 — 2015-11-18
- 0.1.0 — 2015-11-18

## README

# Let's markdown to business
[![forthebadge](http://forthebadge.com/images/badges/built-with-love.svg)
](http://forthebadge.com) [![npm version]
(https://badge.fury.io/js/lets-markdown-to-business.svg)]
(https://badge.fury.io/js/lets-markdown-to-business)

To install, run
```bash
npm install -g lets-markdown-to-business
```
Then to use the tool, run
```bash
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](https://github.com/markdown-it/markdown-it) to
convert the markdown documents, and
[mustache](https://github.com/janl/mustache.js) 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
- https://github.com/gitlabhq/gitlabhq/blob/master/doc/markdown/markdown.md -
Test document

---
_Source: https://npm.io/package/lets-markdown-to-business · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
