{"html_url": "https://github.com/simonw/datasette/issues/577#issuecomment-559610951", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/577", "id": 559610951, "node_id": "MDEyOklzc3VlQ29tbWVudDU1OTYxMDk1MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-11-28T22:10:36Z", "updated_at": "2019-11-28T22:10:49Z", "author_association": "OWNER", "body": "Better idea: take advantage of pluggy dependency injection. If a plugin takes a `render` argument we can send it a function that can be used to render a template.\r\n\r\nThe need to `await render(...)` might be difficult here though.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 497171390, "label": "Utility mechanism for plugins to render templates"}, "performed_via_github_app": null}