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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: lektor-nl2br-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 a9423d96c8b56634424281f30cc776561de9b73d8b29d20759a14ab5be9913fe
MD5 2761797f1a04355ec6ec29af6ddbc757
BLAKE2b-256 76b38971b73c7b62e6b5cb46bd08cbe2d5fbf0acb74cbb3bced796de53d45821

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lektor_nl2br-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f521859be9b621873dbcf0875a67f43dcd679bccf6521bf184a75f439d1c3040
MD5 446208c4ed2b953f3a646c0cf3c3bb08
BLAKE2b-256 f3488992ea5d962dd20c9d50cec5fd2a6379159707ba13064a044bbf3a8f91c6

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