diff --git a/content/docs/api/templates/filters/markdown/contents.lr b/content/docs/api/templates/filters/markdown/contents.lr new file mode 100644 index 00000000..bebed556 --- /dev/null +++ b/content/docs/api/templates/filters/markdown/contents.lr @@ -0,0 +1,22 @@ +title: markdown +--- +signature: source +--- +summary: Converts markdown to HTML +--- +type: filter +--- +version_added: 2.0 +--- +body: + +This filter converts a markdown string into HTML. This behaves the same as +the [Markdown Type :ref](../../../db/types/markdown/). + +## Example + +```html+jinja +
+ {{ "Hello **World**"|markdown }} +
+```