{"action":"created","issue":{"url":"https://api.github.com/repos/markdown-it/markdown-it/issues/242","repository_url":"https://api.github.com/repos/markdown-it/markdown-it","labels_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/242/comments","events_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/242/events","html_url":"https://github.com/markdown-it/markdown-it/issues/242","id":154632032,"number":242,"title":"Autorender on web page?","user":{"login":"erhnsn","id":16947195,"avatar_url":"https://avatars.githubusercontent.com/u/16947195?v=3","gravatar_id":"","url":"https://api.github.com/users/erhnsn","html_url":"https://github.com/erhnsn","followers_url":"https://api.github.com/users/erhnsn/followers","following_url":"https://api.github.com/users/erhnsn/following{/other_user}","gists_url":"https://api.github.com/users/erhnsn/gists{/gist_id}","starred_url":"https://api.github.com/users/erhnsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erhnsn/subscriptions","organizations_url":"https://api.github.com/users/erhnsn/orgs","repos_url":"https://api.github.com/users/erhnsn/repos","events_url":"https://api.github.com/users/erhnsn/events{/privacy}","received_events_url":"https://api.github.com/users/erhnsn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/markdown-it/markdown-it/labels/question","name":"question","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-13T04:32:18Z","updated_at":"2016-05-13T11:00:55Z","closed_at":"2016-05-13T04:34:30Z","body":"It occurred to me that it is not that easy to use on a web page. The naive way would be to call this when the document loads. Is there a function to render all text-nodes in the document?\r\n\r\n``` js\r\ndocument.body.innerHTML = window.markdownit(opts).render(document.body.innerHTML);\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/markdown-it/markdown-it/issues/comments/219013371","html_url":"https://github.com/markdown-it/markdown-it/issues/242#issuecomment-219013371","issue_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/242","id":219013371,"user":{"login":"ixti","id":94782,"avatar_url":"https://avatars.githubusercontent.com/u/94782?v=3","gravatar_id":"","url":"https://api.github.com/users/ixti","html_url":"https://github.com/ixti","followers_url":"https://api.github.com/users/ixti/followers","following_url":"https://api.github.com/users/ixti/following{/other_user}","gists_url":"https://api.github.com/users/ixti/gists{/gist_id}","starred_url":"https://api.github.com/users/ixti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixti/subscriptions","organizations_url":"https://api.github.com/users/ixti/orgs","repos_url":"https://api.github.com/users/ixti/repos","events_url":"https://api.github.com/users/ixti/events{/privacy}","received_events_url":"https://api.github.com/users/ixti/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T11:00:55Z","updated_at":"2016-05-13T11:00:55Z","body":"https://jsfiddle.net/ye68cgjo/3/"}}