Datasette plugin for rendering Markdown
Project description
datasette-render-markdown
Datasette plugin for rendering Markdown.
Install this plugin in the same environment as Datasette to enable this new functionality:
pip install datasette-render-markdown
The plugin currently only works against columns with a name ending in _markdown.
Their contents will be rendered using Python-Markdown. The resulting HTML is then run through Bleach to avoid the risk of XSS security problems.
You can try it out using the following query:
select '# Hello there
* This is a list
* of items
[And a link](https://github.com/simonw/datasette-render-markdown).'
as demo_markdown
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datasette_render_markdown-0.1a0-py3-none-any.whl.
File metadata
- Download URL: datasette_render_markdown-0.1a0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d08cf0abfb35c771af121b444a32f81cead8158a0fb256e2c44b9cc3382306c6
|
|
| MD5 |
0cd2b4305e410de8dcc2f280c92d8bd2
|
|
| BLAKE2b-256 |
be293514dda7862dc9dc165dd750f393d1e0479046ccd26b8ab42ba7bef6a6f3
|