Skip to content

Releases: simonw/datasette-json-html

1.0.1

31 Jul 19:22

Choose a tag to compare

  • Now also tested against Python 3.9.
  • Fixed Jinja2 deprecation warnings. #7

1.0

31 Jul 19:10
3a112a6

Choose a tag to compare

1.0
  • 1.0 release reflecting the stability of this plugin
  • Extremely minor documentation improvements

0.6.1

09 Aug 22:48
3c1f952

Choose a tag to compare

  • Switched CI to GitHub Actions

0.6

09 Aug 22:47

Choose a tag to compare

0.6
  • Optional description key for links, closes #5

(Actually released January 22nd 2020)

0.5 - tooltips and demos

14 Jun 01:33

Choose a tag to compare

Links can now have tooltips (#2):

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

Also added a live demo and linked to it throughout the README (#3, #1)

0.4.0 - <pre> support

02 Jan 04:17

Choose a tag to compare

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>