My gist markdown is not rendering when I embed it. Is this a GitHub issue, or am I doing it wrong?
The gist:
https://gist.github.com/3094145
The non-rendering embedded gist:
http://jsfiddle.net/dJnBg/
Thanks!
*2012-12-11 Update: Today github pushed out a complete rewrite of gist.github.com, and this is no longer a problem. For proof, see screenshot. *
It looks deliberate. It's worth noting that syntax highlighting still works in embeds, but not (alas) markdown rendering.
A potential workaround might be to add additional JS code (after the gist embed JS) that renders the markdown client-side, perhaps via http://www.showdown.im/
I made an issue for myself to do this for the redmine gist embed plugin I wrote. https://github.com/dergachev/redmine_gist/issues/3
Perhaps by the time you're reading this I got around to tackling this ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With