# markthat

> A module that parses markdown into HTML

Latest version **0.2.0** (published 2018-04-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install markthat
pnpm add markthat
yarn add markthat
bun add markthat
```

## 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.2.0 |
| Published | 2018-04-07 |
| First published | 2017-03-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Talon Bragg |
| Maintainers | talon4567 |
| Keywords | mark, that, markthat, html, to, markdown, markdown, parser |

## Links

- npm: https://www.npmjs.com/package/markthat
- Repository: https://github.com/talonbragg/markthat
- Homepage: https://github.com/talonbragg/markthat#readme
- Issues: https://github.com/talonbragg/markthat/issues
- npm.io page: https://npm.io/package/markthat

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.2.0 (latest) — 2018-04-07
- 0.1.1 — 2018-04-06
- 0.1.0 — 2018-04-06
- 0.0.5 — 2017-04-01
- 0.0.4 — 2017-04-01
- 0.0.2 — 2017-03-31
- 0.0.1 — 2017-03-31

## README

# Markthat

A module that parses markdown into html

[![Build Status](https://travis-ci.org/talonbragg/markthat.svg?branch=master)](https://travis-ci.org/talonbragg/markthat)
<a href="https://codecov.io/gh/talonbragg/markthat"><img src="https://codecov.io/gh/talonbragg/markthat/branch/master/graph/badge.svg" alt="Code Coverage"></a>

**Installation:**

`npm install markthat`

**Usage:**

Single line:

```javascript
const markthat = require('markthat');

markthat.markthat('**Bold**');

//returns as: <strong>Bold</strong>
```

Whole file:

```javascript
const markthat = require('markthat');

markthat.markthatFile('./README.md').then(thefile => {
    console.log(thefile); //thefile is the parsed markdown
    //do whatever you want with the parsed markdown
});
```

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