remark-woofmd

Wiki OO formatter


Keywords
wiki, syntax, parser
License
Unlicense
Install
npm install remark-woofmd@0.4.7

Documentation

Woof MD

Usage

const remark = require('remark');
const { vis, remark: remarkWoofmd } = require('remark-woofmd');
const processor = remark().data('settings', { commonmark: true, footnotes: true }).use(remarkWoofmd);
const go = s => vis(processor.parse(s));

go(`
# Best addon for your pluphone

Perfecto is real! Right, staff:johnston

Text Before formatter block.
%%(prettify align=center)
Text inside
formatter with //emphasis// and **bold**.
%%
Text just after the formatter block.

<{ Big quote block here

## With headings

}>


<{ Cut string **Bold here** and !!(green) Apple text !! too.
    🍏🍎🍏🍎🍏🍎🍏🍏🍏🍏🍏🍒🍏🍒🍏🍒.

    Yep.
}>

##+Rolled section

This part is hidden for the first look

## Usual heading

Hey boys, it's the end!
`);