How to get the markdownified content in single.md to have custom output markdown

To get a markdown file as custom output format I created a template single.md with this content:


# {{ .Title }}

{{. Content }}

The resulting markdown file has html code.

When I use {{ .RawContent }} I get the raw content from the original markdown file with shortcodes etc.

I would like get a markdown file with resolved shortcodes.

Is this possible?

There has been discussion about this on Github, but nothing yet. Basically a .RenderedContent type of object. But it doesn’t exist now.

1 Like

Also discussed here:

1 Like