{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/markdown/issues/74","labels_url":"https://api.github.com/repos/dart-lang/markdown/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/markdown/issues/74/comments","events_url":"https://api.github.com/repos/dart-lang/markdown/issues/74/events","html_url":"https://github.com/dart-lang/markdown/issues/74","id":114069757,"number":74,"title":"Nested bullets aren't rendering correctly","user":{"login":"sethladd","id":5479,"avatar_url":"https://avatars.githubusercontent.com/u/5479?v=3","gravatar_id":"","url":"https://api.github.com/users/sethladd","html_url":"https://github.com/sethladd","followers_url":"https://api.github.com/users/sethladd/followers","following_url":"https://api.github.com/users/sethladd/following{/other_user}","gists_url":"https://api.github.com/users/sethladd/gists{/gist_id}","starred_url":"https://api.github.com/users/sethladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethladd/subscriptions","organizations_url":"https://api.github.com/users/sethladd/orgs","repos_url":"https://api.github.com/users/sethladd/repos","events_url":"https://api.github.com/users/sethladd/events{/privacy}","received_events_url":"https://api.github.com/users/sethladd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-29T15:05:44Z","updated_at":"2015-11-10T19:26:43Z","closed_at":null,"body":"From this file: https://github.com/dart-lang/shelf/blob/master/README.md\r\n\r\nAt the bottom, on Github, we see this:\r\n\r\n![screen shot 2015-10-29 at 8 03 48 am](https://cloud.githubusercontent.com/assets/5479/10822271/b03e66f0-7e13-11e5-88ea-b7255b1c1aa7.png)\r\n\r\nWhen dartdoc, which uses this markdown package, renders that file, it looks like this:\r\n\r\n![screen shot 2015-10-29 at 8 04 57 am](https://cloud.githubusercontent.com/assets/5479/10822296/c42f8b6c-7e13-11e5-902d-9f12b3cce6f3.png)\r\n\r\n(note: I didnt verify that the bug is _definitely_ with markdown package. dartdoc could be doing something weird here)\r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/markdown/issues/comments/155539620","html_url":"https://github.com/dart-lang/markdown/issues/74#issuecomment-155539620","issue_url":"https://api.github.com/repos/dart-lang/markdown/issues/74","id":155539620,"user":{"login":"munificent","id":46275,"avatar_url":"https://avatars.githubusercontent.com/u/46275?v=3","gravatar_id":"","url":"https://api.github.com/users/munificent","html_url":"https://github.com/munificent","followers_url":"https://api.github.com/users/munificent/followers","following_url":"https://api.github.com/users/munificent/following{/other_user}","gists_url":"https://api.github.com/users/munificent/gists{/gist_id}","starred_url":"https://api.github.com/users/munificent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munificent/subscriptions","organizations_url":"https://api.github.com/users/munificent/orgs","repos_url":"https://api.github.com/users/munificent/repos","events_url":"https://api.github.com/users/munificent/events{/privacy}","received_events_url":"https://api.github.com/users/munificent/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T19:26:43Z","updated_at":"2015-11-10T19:26:43Z","body":"> Should we match GitHub here? Github's MD seems to be a defacto standard.\r\n\r\nI think we should generally aim to match CommonMark but if there are places where that diverges from GitHub, we'll want to think long and hard about which side to lean towards.\r\n\r\n> Requiring blank lines within lists feels broken.\r\n\r\nHere, it's only needed to start the nested list, but, yes, I agree. Markdown is actually really weird here. The presence of newlines affects the resulting output. If you have:\r\n\r\n```markdown\r\n* A\r\n\r\n* B\r\n\r\n* C\r\n```\r\n\r\nThen you get an unordered list where each item is a paragraph. If you do:\r\n\r\n```markdown\r\n* A\r\n* B\r\n* C\r\n```\r\n\r\nThen you get bare list items containing just the text with no `<p>`. There is no way in Markdown to have a list with a single item whose body is a single paragraph. :confused: "}}