{"sha": "0120c24927af364304574ab1a58e417094e01c22", "message": "extra_css_urls/extra_js_urls in metadata, refs #153\n\nA mechanism in the metadata.json format for adding custom CSS and JS urls.\n\nCreate a metadata.json file that looks like this:\n\n {\n \"extra_css_urls\": [\n \"https://simonwillison.net/static/css/all.bf8cd891642c.css\"\n ],\n \"extra_js_urls\": [\n \"https://code.jquery.com/jquery-3.2.1.slim.min.js\"\n ]\n }\n\nThen start datasette like this:\n\n datasette mydb.db --metadata=metadata.json\n\nThe CSS and JavaScript files will be linked in the of every page.\n\nYou can also specify a SRI (subresource integrity hash) for these assets:\n\n {\n \"extra_css_urls\": [\n {\n \"url\": \"https://simonwillison.net/static/css/all.bf8cd891642c.css\",\n \"sri\": \"sha384-9qIZekWUyjCyDIf2YK1FRoKiPJq4PHt6tp/ulnuuyRBvazd0hG7pWbE99zvwSznI\"\n }\n ],\n \"extra_js_urls\": [\n {\n \"url\": \"https://code.jquery.com/jquery-3.2.1.slim.min.js\",\n \"sri\": \"sha256-k2WSCIexGzOj3Euiig+TlR8gA0EmPjuc79OEeY5L45g=\"\n }\n ]\n }\n\nModern browsers will only execute the stylsheet or JavaScript if the SRI hash\nmatches the content served. You can generate hashes using www.srihash.org", "author_date": "2017-11-29T02:38:15Z", "committer_date": "2017-11-29T02:38:15Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "b67890d15d164c7affb2887e5737534628dc6227", "message": "Auto-link column values that look like URLs\n\nRefs #153", "author_date": "2017-11-29T17:05:24Z", "committer_date": "2017-11-29T17:05:24Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}}