Metadata-Version: 2.1
Name: lektor-nl2br
Version: 0.1.0
Summary: Lektor template filter to convert linebreaks to <br> tags
Home-page: https://github.com/cigar-factory/lektor-nl2br
License: MIT
Keywords: Lektor plugin
Author: chris48s
Requires-Python: >=3.6,<4.0
Classifier: Environment :: Plugins
Classifier: Framework :: Lektor
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: lektor (>3)
Project-URL: Repository, https://github.com/cigar-factory/lektor-nl2br
Description-Content-Type: text/markdown

# lektor-nl2br

[![Run tests](https://github.com/cigar-factory/lektor-nl2br/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/cigar-factory/lektor-nl2br/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/cigar-factory/lektor-nl2br/branch/main/graph/badge.svg?token=0TVXPBzH8j)](https://codecov.io/gh/cigar-factory/lektor-nl2br)
[![PyPI Version](https://img.shields.io/pypi/v/lektor-nl2br.svg)](https://pypi.org/project/lektor-nl2br/)
![License](https://img.shields.io/pypi/l/lektor-nl2br.svg)
![Python Compatibility](https://img.shields.io/badge/dynamic/json?query=info.requires_python&label=python&url=https%3A%2F%2Fpypi.org%2Fpypi%2Flektor-nl2br%2Fjson)
![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)

Lektor template filter to convert linebreaks to `<br>` tags

## Installation

```
pip install lektor-nl2br
```

## Usage

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

