Datasette-json-html

Latest version: v1.0.1

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

Scan your dependencies

1.0.1

Not secure
- Now also tested against Python 3.9.
- Fixed Jinja2 deprecation warnings. [7](https://github.com/simonw/datasette-json-html/issues/7)

1.0

Not secure
- Extremely minor documentation improvements

0.6.1

Not secure
- Switched CI to GitHub Actions

0.6

Not secure
- Optional description key for links, closes 5

(Actually released January 22nd 2020)

0.5

Not secure
Links can now have tooltips (2):

{
"href": "https://simonwillison.net/",
"label": "Simon Willison",
"title": "My blog"
}

Also added [a live demo](https://datasette-json-html.datasette.io/demo?sql=select+%27%7B%0D%0A++++%22href%22%3A+%22https%3A%2F%2Fsimonwillison.net%2F%22%2C%0D%0A++++%22label%22%3A+%22Simon+Willison%22%2C%0D%0A++++%22title%22%3A+%22My+blog%22%0D%0A%7D%27) and linked to it throughout the README (#3, 1)

0.4.0

Not secure
You can use `{"pre": "text"}` to render text in a `<pre>` HTML tag:

{
"pre": "This\nhas\nnewlines"
}

Produces:

<pre>This
has
newlines</pre>

If the value attached to the `"pre"` key is itself a JSON object, that JSON will be pretty-printed:

{
"pre": {
"this": {
"object": ["is", "nested"]
}
}
}

Produces:

<pre>{
&34;this&34;: {
&34;object&34;: [
&34;is&34;,
&34;nested&34;
]
}
}</pre>

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.