html_url,id,node_id,tag_name,target_commitish,name,draft,author,prerelease,created_at,published_at,assets,body,repo https://github.com/simonw/datasette-json-html/releases/tag/0.4.0,14760894,MDc6UmVsZWFzZTE0NzYwODk0,0.4.0,master,0.4.0 -
 support,0,9599,0,2019-01-02T04:10:17Z,2019-01-02T04:17:15Z,[],"
You can use `{""pre"": ""text""}` to render text in a `
` HTML tag:

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

Produces:

    
This
    has
    newlines
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:
{
      "this": {
        "object": [
          "is",
          "nested"
        ]
      }
    }
",142967347 https://github.com/simonw/datasette-json-html/releases/tag/0.5,17987324,MDc6UmVsZWFzZTE3OTg3MzI0,0.5,master,0.5 - tooltips and demos,0,9599,0,2019-06-14T01:29:34Z,2019-06-14T01:33:44Z,[],"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)",142967347