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!
`);
-
Notifications
You must be signed in to change notification settings - Fork 1
License
yandex-lego/remark-woofmd
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published