I am building a site with Middleman, and using Redcarpet as my markdown engine, mostly for its GFM support.
I would like to tap into or precede the markdown rendering process to add support for various syntax options. In one example, I'd like this:
[file:/path/to/file]
to be rendered as:
<p class="file">
<code>/path/to/file</code>
</p>
In every case, I'm not rendering anything that would interfere affect the remaining markdown in the template, so I would suspect I could precede the rendering process.
Also, if this is simpler by using another renderer, I'm not tied to Redcarpet in any way other than that I'd prefer to have GFM support.