Skip to content

Instantly share code, notes, and snippets.

@imathis
Created January 9, 2012 02:22
Show Gist options
  • Save imathis/1580661 to your computer and use it in GitHub Desktop.
Save imathis/1580661 to your computer and use it in GitHub Desktop.
Render Markdown partials in HTML with Octopress

{% capture partial %} bold italic link {% endcapture %}

---
layout: page
--
{% render_partial /path/to/_partial.markdown %}{{ contents | markdownize }}
<strong>bold</strong> <em>italic</em> <a href="http://octopress.org">link</a>
@elipapa
Copy link

elipapa commented Oct 22, 2012

This does not work for me with the latest build of octopress, nor with 2.1. the classical liquid filter markdownify also does not work.
Is there anything I am missing ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment