Datasette-render-markdown

Latest version: v2.2.1

Safety actively analyzes 619000 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.2.1

- Fixed a crashing bug when `{{ render_markdown(None) }}` was called in a template. [15](https://github.com/simonw/datasette-render-markdown/issues/15)

2.2

- New `{% markdown %}...{% endmarkdown %}` Jinja template tag ([documentation here](https://github.com/simonw/datasette-render-markdown/blob/2.2/README.md#markdown-in-templates)) for rendering blocks of Markdown content. This accepts optional attributes for controlling the Markdown renderer, for example `{% markdown extra_attrs="p:id,class a:name,href" %}`. [14](https://github.com/simonw/datasette-render-markdown/issues/14)

2.1.1

- Fixed a bug where `[Links containing & characters](...)` were rendered with the ampersand double-escaped as `&`. [13](https://github.com/simonw/datasette-render-markdown/issues/13)

2.1

- Fixed bug where potential URLs inside of `<pre>` links were being turned into links. [11](https://github.com/simonw/datasette-render-markdown/issues/11)

2.0

- Markdown image tags of the form `![alt text](URL-to-image)` are now supported by default. This change could break backwards-compatibility for some installations, hence the 2.0 version number. [10](https://github.com/simonw/datasette-render-markdown/issues/10)

1.2

- Now uses `white-space: normal` to fix a bug caused by Datasette's use of `white-space: pre-wrap`. 9

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.