semvec/pypi-packages huggingface dataset:
lektor-leaflet-geojson 0.2.0
Lektor template filter to convert geojson objects to Leaflet maps
License: MIT
Requires Python: >=3.7,<4.0
Keywords: Lektor plugin

# lektor-leaflet-geojson

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

Lektor template filter to convert geojson objects to Leaflet maps

## Installation

```
pip install lektor-leaflet-geojson
```

## Usage

Import the leaflet JS and CSS. You can skip this step if you are managing Leaflet yourself (e.g: with NPM)

```
{{ import_leaflet('1.7.1') }} {# using a specified version #}
```

```
{{ import_leaflet() }} {# default to "latest" #}
```

The `|map()` filter can be used to render a GeoJSON feature on a map. Pass some inline CSS to style the map div.

```
{{
  '{"type": "Feature", "geometry": {"type": "Point", "coordinates": [125.6, 10.1]}}' | map("height: 300px; width: 300px;")
}}
```
lektor-youtube-embed 0.2.0
Lektor template filter to convert youtube links to embeds
License: MIT
Requires Python: >=3.7,<4.0
Keywords: Lektor plugin

# lektor-youtube-embed

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


Lektor template filter to convert youtube links to embeds

## Installation

```
pip install lektor-youtube-embed
```

## Usage

```
{{ "https://www.youtube.com/watch?v=9Yk9iRDESDo" | youtube }}
```

```
{{ "https://youtu.be/BdXDT-5jci0" | youtube(width=640, height=480, attrs={'class': 'video'}) }}
```
lektor-nl2br 0.2.0
Lektor template filter to convert linebreaks to <br> tags
License: MIT
Requires Python: >=3.7,<4.0
Keywords: Lektor plugin

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