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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file lektor-nl2br-0.2.0.tar.gz.

File metadata

  • Download URL: lektor-nl2br-0.2.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.10 Linux/5.4.0-88-generic

File hashes

Hashes for lektor-nl2br-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0940f741a4d71134519f49f0e04dc8155fc85091d0cd079a3d27aea7714a46b5
MD5 fb918664ae927c100ab3a72638c3a658
BLAKE2b-256 7c9ca028aed7cc18e741571f02da4710c2dc398c7b576b3e3ad7ae178d2a214a

See more details on using hashes here.

File details

Details for the file lektor_nl2br-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: lektor_nl2br-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.10 Linux/5.4.0-88-generic

File hashes

Hashes for lektor_nl2br-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71a251ef5116d28574eb4c2285bbe37cf7085f3405ff75ad1481f5fea3b82192
MD5 6e2cf9a97fe20394aeddadef7474eb5e
BLAKE2b-256 40f783726c6cd5fdd93d5761f047ddaf70d22aaa478088ca5aafef82e4278c11

See more details on using hashes here.

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