remark-remove
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

remark-remove

Remark plugin to output a string with all markdown formatting removed

Usage:

import { unified } from "unified";
import remarkGfm from "remark-gfm";
import remarkParse from "remark-parse";
import remarkRemove from "remark-remove";

const transform = unified()
  .use(remarkParse)
  .use(remarkGfm)
  .processSync("*Hello* world.");

// Should display "Hello world."
console.log(transform);

Readme

Keywords

none

Package Sidebar

Install

npm i remark-remove

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.71 kB

Total Files

5

Last publish

Collaborators

  • jenselme