{"html_url": "https://github.com/simonw/datasette/issues/1153#issuecomment-1133267290", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1153", "id": 1133267290, "node_id": "IC_kwDOBm6k_c5DjEla", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T19:44:05Z", "updated_at": "2022-05-20T19:50:58Z", "author_association": "OWNER", "body": "Undocumented Sphinx feature: you can add extra classes to a code example like this:\r\n\r\n```\r\n.. code-block:: json\r\n :class: metadata-json\r\n\r\n {\r\n \"databases\": {\r\n \"russian-ads\": {\r\n \"tables\": {\r\n \"display_ads\": {\r\n \"fts_table\": \"ads_fts\",\r\n \"fts_pk\": \"id\",\r\n \"searchmode\": \"raw\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n```\r\nhttps://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-code-block doesn't mention this.\r\n\r\nFiled an issue about the lack of documentation here:\r\n- https://github.com/sphinx-doc/sphinx/issues/10461", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 771202454, "label": "Use YAML examples in documentation by default, not JSON"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1153#issuecomment-1133222848", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1153", "id": 1133222848, "node_id": "IC_kwDOBm6k_c5Di5vA", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-05-20T19:07:10Z", "updated_at": "2022-05-20T19:07:10Z", "author_association": "OWNER", "body": "I could use https://github.com/pradyunsg/sphinx-inline-tabs for this - recommended by https://pradyunsg.me/furo/recommendations/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 771202454, "label": "Use YAML examples in documentation by default, not JSON"}, "performed_via_github_app": null}