hugo/output
Bjørn Erik Pedersen 322d19a81f
Add Markdown as an output format
The motivation behind this is not to make it easier to publish Markdown files, as that sounds unusual.

This is mainly meant for shortcodes that produces Markdown to be inlined.

You would do this by creating shortcodes with `*.md` suffix (e.g. `layouts/shortcodes/myshortcode.md`).

This output format is defined as plain text, and will use Go's much more lenient text template parser.

Updates #9821
2022-05-30 11:32:55 +02:00
..
docshelper.go
layout.go
layout_test.go
outputFormat.go Add Markdown as an output format 2022-05-30 11:32:55 +02:00
outputFormat_test.go Add Markdown as an output format 2022-05-30 11:32:55 +02:00