repolar-parse
v0.1.0
Published
Parser for [**unified**][unified]. Parses [Polar Bear markup language](https://bear.app/faq/Markup%20:%20Markdown/Polar%20Bear%20markup%20language/) to an [**MDAST**][mdast] syntax tree.
Downloads
2
Readme
repolar-parse
Parser for unified. Parses Polar Bear markup language to an MDAST syntax tree.
Installation
npm:
npm install repolar-parse
Usage
var unified = require("unified");
var createStream = require("unified-stream");
var polarbear = require("repolar-parse").default;
var html = require("remark-html");
var processor = unified()
.use(polarbear)
.use(html);
process.stdin.pipe(createStream(processor)).pipe(process.stdout);