FIGlet plugin
Add FIGfont text to markdown files via markdown-magic
Install
npm i -DE markdown-magic markdown-magic-figlet
Adding the plugin
See example.js
for usage.
"use strict"; const path = ;const markdownMagic = ;const FIGLET = ; const config = transforms: FIGLET: ; const markdownPath = path;;
Usage in markdown
__ _ _ _ _ / _|(_) __ _ | | ___ | |_ | |__ __ _ _ __ | |_ | | / _` || | / _ \| __| | '_ \ / _` || '__| | _|| || (_| || || __/| |_ | |_) || (_| || | |_| |_| \__, ||_| \___| \__| |_.__/ \__,_||_| |___/
Options
Transform factory options
- variables: any object made of properties you can reuse in the rendered lodash template.
Content generator options
The options propagated to figlet.text options and use the same defaults.
The text option can be a lodash template.