{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/pandoc/issues/168","labels_url":"https://api.github.com/repos/jgm/pandoc/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/jgm/pandoc/issues/168/comments","events_url":"https://api.github.com/repos/jgm/pandoc/issues/168/events","html_url":"https://github.com/jgm/pandoc/issues/168","id":1033745,"number":168,"title":"Syntax for divs","user":{"login":"jgm","id":3044,"avatar_url":"https://avatars.githubusercontent.com/u/3044?v=3","gravatar_id":"","url":"https://api.github.com/users/jgm","html_url":"https://github.com/jgm","followers_url":"https://api.github.com/users/jgm/followers","following_url":"https://api.github.com/users/jgm/following{/other_user}","gists_url":"https://api.github.com/users/jgm/gists{/gist_id}","starred_url":"https://api.github.com/users/jgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgm/subscriptions","organizations_url":"https://api.github.com/users/jgm/orgs","repos_url":"https://api.github.com/users/jgm/repos","events_url":"https://api.github.com/users/jgm/events{/privacy}","received_events_url":"https://api.github.com/users/jgm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jgm/pandoc/labels/enhancement","name":"enhancement","color":"d7e102"}],"state":"open","locked":false,"assignee":{"login":"jgm","id":3044,"avatar_url":"https://avatars.githubusercontent.com/u/3044?v=3","gravatar_id":"","url":"https://api.github.com/users/jgm","html_url":"https://github.com/jgm","followers_url":"https://api.github.com/users/jgm/followers","following_url":"https://api.github.com/users/jgm/following{/other_user}","gists_url":"https://api.github.com/users/jgm/gists{/gist_id}","starred_url":"https://api.github.com/users/jgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgm/subscriptions","organizations_url":"https://api.github.com/users/jgm/orgs","repos_url":"https://api.github.com/users/jgm/repos","events_url":"https://api.github.com/users/jgm/events{/privacy}","received_events_url":"https://api.github.com/users/jgm/received_events","type":"User","site_admin":false},"milestone":null,"comments":22,"created_at":"2011-06-10T00:33:54Z","updated_at":"2015-05-27T02:00:18Z","closed_at":null,"body":"<pre>\nI've been missing a way to specify a div markdown\nwithout using HTML tags.  The (relatively) new \ndelimited code block syntax gave me an idea however.\nConsider using a line of four or more periods to\nstart a div:\n\n\tPara before div\n\n\t....\n\tFirst para inside div\n\n\tSecond para inside div\n\n\tThird para inside div\n\t....\n\nSince one will often want and need to apply an ID\nand/or class to a div one should be able specify\nthose.  I suggest a CSS-like syntax inside braces\nafter the opening line of periods\n\n\t.... {#id .class}\n\tdiv content\n\t....\n\nOne problem would be nested divs.  I suggest marking\nthose by indenting.  A code/pre block containing div\nsyntax would need to be doubly indented, similar to \nsuch blocks inside lists:\n\n\t.... {#outer_div}\n\t\n\tPara of outer div\n\n\t\t.... {#nested_div}\n\t\t\n        Para of nested div.\n\n\t\tA code block illustrating div syntax\n\t\t(a most unusual thing!):\n\n\t\t\t\t....{#example_div}\n\t\t\t\tThis is how you specify a div\n\t\t\t\t....\n\n\t\tAnother para in nested div\n\n\t\t....\n\n\tAnother para in outer div\n\n\t....\nmarkdown\nOf course one could mark nested divs by more periods in the\nline (and then at least two more!):\n\n\t.... {#outer_div}\n\t\n\tPara of outer div\n\n\t...... {#nested_div}\n\t\n\tPara of nested div.\n\n\tA code block illustrating div syntax\n\t(a most unusual thing!):\n\n\t\t....{#example_div}\n\t\tThis is how you specify a div\n\t\t....\n\n\tAnother para in nested div\n\n\t......\n\n\tAnother para in outer div\n\n\t....\n\n\nBut I think indenting makes things cleaner, making it\neasier to remember closing the divs you have opened, and not \nto close more divs than you have opened.  If you have very \nmany nested divs you should probably pause and consider why \nanyway!\n\nGoogle Code Info:\nIssue #: 195\nAuthor: bpjonsson\nCreated On: 2010-01-07T13:54:47.000Z\nClosed On: \n</pre>"},"comment":{"url":"https://api.github.com/repos/jgm/pandoc/issues/comments/105720573","html_url":"https://github.com/jgm/pandoc/issues/168#issuecomment-105720573","issue_url":"https://api.github.com/repos/jgm/pandoc/issues/168","id":105720573,"user":{"login":"uvtc","id":212308,"avatar_url":"https://avatars.githubusercontent.com/u/212308?v=3","gravatar_id":"","url":"https://api.github.com/users/uvtc","html_url":"https://github.com/uvtc","followers_url":"https://api.github.com/users/uvtc/followers","following_url":"https://api.github.com/users/uvtc/following{/other_user}","gists_url":"https://api.github.com/users/uvtc/gists{/gist_id}","starred_url":"https://api.github.com/users/uvtc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uvtc/subscriptions","organizations_url":"https://api.github.com/users/uvtc/orgs","repos_url":"https://api.github.com/users/uvtc/repos","events_url":"https://api.github.com/users/uvtc/events{/privacy}","received_events_url":"https://api.github.com/users/uvtc/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T02:00:18Z","updated_at":"2015-05-27T02:00:18Z","body":"I think the colons look good.\r\n\r\nWould also be nice to see some `[span syntax]{.cool-feature}` make it in as well.\r\n"}}