hugo/media
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
..
testdata media: Also consider extension in FromContent 2021-12-22 11:35:53 +01:00
docshelper.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
mediaType.go Add Markdown as an output format 2022-05-30 11:32:55 +02:00
mediaType_test.go Add Markdown as an output format 2022-05-30 11:32:55 +02:00