{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1201","labels_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1201/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1201/comments","events_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1201/events","html_url":"https://github.com/sphinx-doc/testing2/issues/1201","id":53295584,"number":1201,"title":"Optionally warn about not highlighted blocks","user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-03T06:07:13Z","updated_at":"2015-01-03T06:07:14Z","closed_at":null,"body":"If I use automatic highlighting of python code and make typo which leads to unparseble python snippet then Sphinx silenty renders code not highlighted.\n\nIt would be nice feature if Sphinx will warn be about such blocks, where syntax highliting failed.\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/birkenfeld/sphinx/issue/1201\n- Originally reported by: [rutsky](https://bitbucket.org/rutsky)\n- Originally created at: 2013-06-20T22:46:10.471\n"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/comments/68584856","html_url":"https://github.com/sphinx-doc/testing2/issues/1201#issuecomment-68584856","issue_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1201","id":68584856,"user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T06:07:14Z","updated_at":"2015-01-03T06:07:14Z","body":"_From [rutsky](https://bitbucket.org/rutsky) on 2013-06-25 19:29:41+00:00_\n\nI monkey-patched Sphinx to fail if not highlighted block found in [Buildbot](http://buildbot.net/) project documentation: https://github.com/buildbot/buildbot/blob/e8ef280b5ab6601eb172562fbbe1df03891f535b/master/docs/conf.py#L238\n\nSo now either code is valid Python code and highlighted as Python, or it has language explicitly specified. No silently unhighlighted Python code with unmatched brackets. \n \nIMHO this feature request can be quite easily implemented in Sphinx, it only requires \"green light\" from project developers.\n"}}