markdown (source)

  • New in Lektor Version 2.0

This filter converts a markdown string into HTML. This behaves the same as the Markdown Type.

Example

<div class="example">
  {{ "Hello **World**"|markdown }}
</div>

Comments