Skip to main content

datasette-multiline-links

PyPI Changelog Tests License

Make multiple newline separated URLs clickable in Datasette

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-multiline-links

Usage

Once installed, if a cell has contents like this:

https://example.com
Not a link
https://google.com

It will be rendered as:

<a href="https://example.com">https://example.com</a>
Not a link
<a href="https://google.com">https://google.com</a>

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-multiline-links
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datasette-multiline-links-0.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasette_multiline_links-0.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

Release history Release notifications | RSS feed

This release

0.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page