balupton/docpad — Issue #87: Markdown not rendered when using in Atom
Author: aaronpowell
Created: 2011-10-24 01:41:20+00:00
State: open

I'm creating an RSS for my site which is output through ATOM using an Eco template which is as follows:

JavaScript Quiz

<%= @Site.date.toIsoDateString() %>
http://javascriptquiz.com

Aaron Powell
me@aaron-powell.com

<% for Document in @Documents: %>
<% if Document.url.indexOf('/blog') == 0: %>

<%= Document.title %>

<%= Document.date.toIsoDateString() %>
http://javascriptquiz.com<%= Document.url %>
<%= Document.content %>

<% end %>
<% end %>

The problem is that `Document.content` returns the raw Markdown. I've tried the `contentRendered` property but that is also raw content too.