1.0.0 • Published 6 months ago

remark-remove v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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);
1.0.0

6 months ago