Added markdown filter to docs

This commit is contained in:
Armin Ronacher 2015-12-24 21:54:36 +01:00
parent 7d9627a696
commit b0d0a62c3b
1 changed files with 22 additions and 0 deletions

View File

@ -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
<div class="example">
{{ "Hello **World**"|markdown }}
</div>
```