Datasette plugin that renders specified cells as HTML
Project description
datasette-render-html
This Datasette plugin lets you configure Datasette to render specific columns as HTML in the table and row interfaces.
This means you can store HTML in those columns and have it rendered as such on those pages.
If you have a database called docs.db
containing a glossary
table and you want the definition
column in that table to be rendered as HTML, you would use a metadata.json
file that looks like this:
{
"databases": {
"docs": {
"tables": {
"glossary": {
"plugins": {
"datasette-render-html": {
"columns": ["definition"]
}
}
}
}
}
}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for datasette_render_html-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f0cd16c08a42472de9d9e2f358fb53372f68d39ad4d4f60e37269799649f984 |
|
MD5 | 18f35a325478db767c28f5fab3669697 |
|
BLAKE2b-256 | 4f62a63f7a91d5aecf9a7b9048b86df6c906b1a9df2711703074e8d8c1995bb2 |