From 469babbd97fbdc1d9f87fc4ec2c2030b9aac0704 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Sun, 12 Apr 2020 17:25:58 +0200 Subject: [PATCH] Update docs on markdown filter Closes #989 --- docs/content/documentation/templates/overview.md | 2 ++ docs/content/documentation/templates/pages-sections.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/content/documentation/templates/overview.md b/docs/content/documentation/templates/overview.md index eeb656b3..83fc03fe 100644 --- a/docs/content/documentation/templates/overview.md +++ b/docs/content/documentation/templates/overview.md @@ -72,6 +72,8 @@ pass `true` to the inline argument: {{ some_text | markdown(inline=true) }} ``` +You do not need to use this filter with `page.content` or `section.content`, the content is already rendered. + ### base64_encode Encode the variable to base64. diff --git a/docs/content/documentation/templates/pages-sections.md b/docs/content/documentation/templates/pages-sections.md index 15751a1f..91e2f7a0 100644 --- a/docs/content/documentation/templates/pages-sections.md +++ b/docs/content/documentation/templates/pages-sections.md @@ -14,6 +14,7 @@ with the following fields: ```ts +// The HTML output of the Markdown content content: String; title: String?; description: String?; @@ -68,6 +69,7 @@ with the following fields: ```ts +// The HTML output of the Markdown content content: String; title: String?; description: String?;