remark-remove
v1.0.0
Published
Remark plugin to output a string with all markdown formatting removed
Downloads
1
Readme
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);