jstransformer-markdown-yml
Transform YAML values from Markdown to HTML with markdown-it
Created to be used in gulp-jade when generating static sites.
Installation
npm install jstransformer-markdown-yml
Usage example
In app/data.yml
foo:
bar: ## Hello world
In .jade file
Use the format:
path to .yml file
, object property (in dot notation)
:markdown-yml
app/data, foo.bar