Add Type metadata header to enable support for Confluence Blog Posts

This commit is contained in:
David Laing
2021-03-31 17:49:01 +01:00
parent 12510a1208
commit 07aa3700eb
7 changed files with 52 additions and 21 deletions

View File

@@ -44,6 +44,13 @@ Also, optional following headers are supported:
reading;
* plain: content will fill all page;
```markdown
<!-- Type: (page|blogpost) -->
```
* (default) page: normal Confluence page - defaults to this if omitted
* blogpost: [Blog post](https://confluence.atlassian.com/doc/blog-posts-834222533.html) in `Space`. Cannot have `Parent`(s)
Mark supports Go templates, which can be included into article by using path
to the template relative to current working dir, e.g.: