Skip to main content

Lektor template filter to convert linebreaks to <br> tags

Project description

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 }}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lektor-nl2br-0.2.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

lektor_nl2br-0.2.0-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page