{"action":"created","issue":{"url":"https://api.github.com/repos/npm/marky-markdown/issues/165","repository_url":"https://api.github.com/repos/npm/marky-markdown","labels_url":"https://api.github.com/repos/npm/marky-markdown/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/npm/marky-markdown/issues/165/comments","events_url":"https://api.github.com/repos/npm/marky-markdown/issues/165/events","html_url":"https://github.com/npm/marky-markdown/issues/165","id":137969005,"number":165,"title":"Nested `pre` formatting","user":{"login":"swashcap","id":1858316,"avatar_url":"https://avatars.githubusercontent.com/u/1858316?v=3","gravatar_id":"","url":"https://api.github.com/users/swashcap","html_url":"https://github.com/swashcap","followers_url":"https://api.github.com/users/swashcap/followers","following_url":"https://api.github.com/users/swashcap/following{/other_user}","gists_url":"https://api.github.com/users/swashcap/gists{/gist_id}","starred_url":"https://api.github.com/users/swashcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swashcap/subscriptions","organizations_url":"https://api.github.com/users/swashcap/orgs","repos_url":"https://api.github.com/users/swashcap/repos","events_url":"https://api.github.com/users/swashcap/events{/privacy}","received_events_url":"https://api.github.com/users/swashcap/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/marky-markdown/labels/feature%20request","name":"feature request","color":"5319e7"},{"url":"https://api.github.com/repos/npm/marky-markdown/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-02T19:31:50Z","updated_at":"2016-03-03T15:39:26Z","closed_at":null,"body":"Hello! I just published [hawkify-pouchdb](https://www.npmjs.com/package/hawkify-pouchdb). I noticed that a code block didn’t look right:\r\n\r\n![code-block](https://cloud.githubusercontent.com/assets/1858316/13472403/a0ba4704-e069-11e5-8737-c8485e345056.jpg)\r\n\r\nAfter exploring the DOM’s order, it appears the Markdown parser is moving the `pre` outside of the `ol`:\r\n\r\n![source-order](https://cloud.githubusercontent.com/assets/1858316/13472511/113d6952-e06a-11e5-8d0a-713d3fabeffa.jpg)\r\n\r\nHowever, if you check out the [Markdown source](https://github.com/MRN-Code/hawkify-pouchdb), the code block is clearly nested:\r\n\r\n![markdown-source](https://cloud.githubusercontent.com/assets/1858316/13472525/21a84fa0-e06a-11e5-9e9b-6a541db247e5.jpg)\r\n\r\nAny thoughts?"},"comment":{"url":"https://api.github.com/repos/npm/marky-markdown/issues/comments/191818396","html_url":"https://github.com/npm/marky-markdown/issues/165#issuecomment-191818396","issue_url":"https://api.github.com/repos/npm/marky-markdown/issues/165","id":191818396,"user":{"login":"ashleygwilliams","id":1163554,"avatar_url":"https://avatars.githubusercontent.com/u/1163554?v=3","gravatar_id":"","url":"https://api.github.com/users/ashleygwilliams","html_url":"https://github.com/ashleygwilliams","followers_url":"https://api.github.com/users/ashleygwilliams/followers","following_url":"https://api.github.com/users/ashleygwilliams/following{/other_user}","gists_url":"https://api.github.com/users/ashleygwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleygwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleygwilliams/subscriptions","organizations_url":"https://api.github.com/users/ashleygwilliams/orgs","repos_url":"https://api.github.com/users/ashleygwilliams/repos","events_url":"https://api.github.com/users/ashleygwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/ashleygwilliams/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T15:39:25Z","updated_at":"2016-03-03T15:39:25Z","body":"Perhaps in the long run @revin ? I always tend to prefer convention over config though. When i think of \"what is marky\" the answer is: a node.js verison of the GH markdown parser, so that toggle would be out of scope. I'm open to it, of course, but i don't think it is a priority."}}