Render markdown in jade template from file using Assemble -
in assemble documentation there instructions loading markdown file variable , rendering handlebars this:
--- content: ../path/to/content.md --- {{md content }}
is there way while using jade instead of handlebars?
i know can utilize filters includes in jade this: include:md path/to/markdown.md
i'm trying load markdown file defined variable, in above example, , jade doesn't back upwards variables in includes.
many thanks.
have tried using string interpolation include?
- var content = ../path/to/content.md include #{content}
i don't have setup test out, i'm not sure if it'll work.
jade markdown assemble
No comments:
Post a Comment