Skip to main content

Datasette plugin for rendering Markdown

Project description

datasette-render-markdown

PyPI CircleCI License

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


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

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page