# kramdown-to-html-pipe

> Angular 2 Pipe that transforms a kramdown string to HTML. Forked from @conclurer/markdown-to-html-pipe

Latest version **1.2.4** (published 2017-02-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install kramdown-to-html-pipe
pnpm add kramdown-to-html-pipe
yarn add kramdown-to-html-pipe
bun add kramdown-to-html-pipe
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.4 |
| Published | 2017-02-06 |
| First published | 2017-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| Author | Matthew Wilkes |
| Maintainers | tonicblue |
| Keywords | angular2, markdown, kramdown, pipe, html |

## Links

- npm: https://www.npmjs.com/package/kramdown-to-html-pipe
- Repository: https://github.com/tonicblue/kramdown-to-html-pipe
- Homepage: https://github.com/tonicblue/kramdown-to-html-pipe#readme
- Issues: https://github.com/tonicblue/kramdown-to-html-pipe/issues
- npm.io page: https://npm.io/package/kramdown-to-html-pipe

## Dependencies (3)

- [kramed](https://npm.io/package/kramed.md) ^0.5.6
- [marked](https://npm.io/package/marked.md) ^0.3.6
- [@types/marked](https://npm.io/package/@types/marked.md) ^0.0.27

## 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

- 1.2.4 (latest) — 2017-02-06
- 1.2.3 — 2017-02-06
- 1.2.2 — 2017-01-31
- 1.2.1 — 2017-01-31
- 1.2.0 — 2017-01-31

## README

# Kramdown To HTML Pipe

Converts a Kramdown string, outputs HTML.

## Usage

```typescript
import {Component} from '@angular/core';
import {KramdownToHtmlPipe} from 'kramdown-to-html-pipe';

@Component({
  selector: 'example',
  template: `<div [innerHTML]="content|KramdownToHtml"></div>`,
  pipes: [KramdownToHtmlPipe]
})
export class ExampleComponent {
  protected content: string = 'This will render **Kramdown** content!';
}
```

Will be rendered as:

```html
<div>
  <p>This will render <strong>Kramdown</strong> content!</p>
</div>
```

## Installation

Run

```
npm install --save kramdown-to-html-pipe
```

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