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.1.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: lektor-nl2br-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.4.0-65-generic

File hashes

Hashes for lektor-nl2br-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5450600b129cab45bdcd097d05f9d809f8f80718c69f59c5d2c4abbfe7fdc054
MD5 596c6c1c299586802bb88a2e1a4b9f4a
BLAKE2b-256 7277af07ee34c7a7333ff29de592f460b9c5c5559b9e82658b5ccde402864287

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lektor_nl2br-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2bcd0f94a8a107ca23a1dabbc68d0881f3d2be2c52d73d72c23f3cc5db59efa
MD5 a5310f17a43c9c42bf2753712d82dbbd
BLAKE2b-256 22ed82d4d33c2748fdb05f2a2921d8c6d6a761e394cc693ccaff60739c95b7c6

See more details on using hashes here.

Supported by

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