Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 936 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 936 Bytes

lektor-nl2br

Run tests codecov PyPI Version License Python Compatibility Code style: black

Lektor template filter to convert linebreaks to <br> tags

Installation

pip install lektor-nl2br

Usage

{{ "a line\nanother line" | nl2br }}