{"action":"closed","issue":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/755","repository_url":"https://api.github.com/repos/jupyter/nbconvert","labels_url":"https://api.github.com/repos/jupyter/nbconvert/issues/755/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/nbconvert/issues/755/comments","events_url":"https://api.github.com/repos/jupyter/nbconvert/issues/755/events","html_url":"https://github.com/jupyter/nbconvert/issues/755","id":294632731,"number":755,"title":"Support for custom mime-renderers","user":{"login":"Madhu94","id":9015820,"avatar_url":"https://avatars1.githubusercontent.com/u/9015820?v=4","gravatar_id":"","url":"https://api.github.com/users/Madhu94","html_url":"https://github.com/Madhu94","followers_url":"https://api.github.com/users/Madhu94/followers","following_url":"https://api.github.com/users/Madhu94/following{/other_user}","gists_url":"https://api.github.com/users/Madhu94/gists{/gist_id}","starred_url":"https://api.github.com/users/Madhu94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Madhu94/subscriptions","organizations_url":"https://api.github.com/users/Madhu94/orgs","repos_url":"https://api.github.com/users/Madhu94/repos","events_url":"https://api.github.com/users/Madhu94/events{/privacy}","received_events_url":"https://api.github.com/users/Madhu94/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-06T04:58:37Z","updated_at":"2018-02-07T09:13:56Z","closed_at":"2018-02-07T09:13:56Z","author_association":"NONE","body":"From https://github.com/jupyter/nbconvert/issues/481, I don't think custom mime types are supported in nbviewer and you should send an additional payload of ``text/html`` or some standard mime to get outputs to render on nbviewer.\r\n\r\nCould we not do something similar to what was done for embedding widgets ? Authors can publish their renderers on npm/unpkg and nbviewer can ``require`` those.   The name of the renderer module (say ``MyRenderer`` has to be stored in the notebook somewhere, we require that module and call a known method on it (say ``MyRenderer.render_mime``).\r\n\r\nWhat do you think ?\r\n\r\n\r\nhttps://github.com/jupyter/nbviewer/issues/263 is similar, but deals with the generic set of nbextensions and not just mime types."}}
{"actor":{"display_login":"Madhu94"}}