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 all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
layout.go Add Markdown diagrams and render hooks for code blocks 2022-02-24 18:59:50 +01:00
layout_test.go media: Make Type comparable 2021-03-14 15:21:54 +01:00
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