Apologies if my answer to this issue is somewhere and I missed it.
I'm using Jekyll to manage and build Font Awesome. I would like to include site variables in README.md and other markdown files. By default, these files are getting compiled down to html. Is there a way to pass these files through the templating engine and leave them as markdown files?
Hey Dave! Congrats on your latest release - glad Jekyll can be of some assistance in your work.
As of right now, every page is rendered as follows:
That produces the final HTML. In the present code, as I understand it, there is no way to get around the markdown to HTML conversion. This conversion has been baked in since the early days because our mission is to make static sites, and HTML is the language of the browser so it just made sense to spit out HTML at the end of compilation.
To get around this, I'd write a plugin (generator) that renders the liquid based on the site passed into the generate function.
Kill off Jekyll's markdown processor by changing the markdown extension to ".jekyll" and then create your own markdown processor. This could be solved with my additions but here it's simple enough to kill off Jekyll's processor, here is an example of doing that: https://gist.github.com/envygeeks/5799659#file-html-pipeline-rb-L27
@jekyll/owners: can be closed.
@envygeeks's suggestion is the only possibility at this point.