Datasette plugin to render email addresses as mailto: links
Project description
datasette-mailto-links
Datasette plugin to render email addresses as mailto:
links
Installation
pip install datasette-mailto-links
Configuration
By default, when installed datasette-mailto-links will search for values in any column that look like an email address and replace them with a mailto:
link. To restrict this behaviour to only certain columns, the plugin behaviour can be configured in metadata.json
. e.g:
{
"databases": {
"my_db": {
"tables": {
"email": {
"plugins": {
"datasette-mailto-links": {
"columns": ["sender", "recipient"]
}
}
}
}
}
}
}
The plugin can be disabled entirely for certain tables using "columns": []
For more detail on Datasette plugin configuration see https://docs.datasette.io/en/latest/plugins.html#plugin-configuration
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
Built Distribution
Close
Hashes for datasette-mailto-links-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f13484ea05ed61bac135f6cccbc67013008128ca7a20f7f60c362ec9f994b95d |
|
MD5 | 47df8c2f264d232271041fcbd0aca028 |
|
BLAKE2b-256 | 8bb31ef199a155d98d4eadf6effb15a9b5ded33d526b51bde39c1ac216e968bc |
Close
Hashes for datasette_mailto_links-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 386949b9cc0a6497a7468b9e2e2961fb1cf9df51272e86c6108b35da6cc4b96d |
|
MD5 | 84bd786e1b95e6822b8fa94d2b98a4bf |
|
BLAKE2b-256 | 812596fc6ac3ba42d917e29d4e515d3174bc35e369b12a1f1beb16a4f1b88ded |