{"action":"created","issue":{"url":"https://api.github.com/repos/marko-js/marko/issues/277","repository_url":"https://api.github.com/repos/marko-js/marko","labels_url":"https://api.github.com/repos/marko-js/marko/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/marko-js/marko/issues/277/comments","events_url":"https://api.github.com/repos/marko-js/marko/issues/277/events","html_url":"https://github.com/marko-js/marko/issues/277","id":152014098,"number":277,"title":"Concise syntax document: inline tags","user":{"login":"bitinn","id":1484279,"avatar_url":"https://avatars.githubusercontent.com/u/1484279?v=3","gravatar_id":"","url":"https://api.github.com/users/bitinn","html_url":"https://github.com/bitinn","followers_url":"https://api.github.com/users/bitinn/followers","following_url":"https://api.github.com/users/bitinn/following{/other_user}","gists_url":"https://api.github.com/users/bitinn/gists{/gist_id}","starred_url":"https://api.github.com/users/bitinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitinn/subscriptions","organizations_url":"https://api.github.com/users/bitinn/orgs","repos_url":"https://api.github.com/users/bitinn/repos","events_url":"https://api.github.com/users/bitinn/events{/privacy}","received_events_url":"https://api.github.com/users/bitinn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-30T06:47:00Z","updated_at":"2016-05-01T03:37:06Z","closed_at":"2016-05-01T03:19:17Z","body":"I am using Jade doc as a reference at the moment, they suggest using html tag directly for inline tags, does marko recommend the same strategy or does it have a better solution? eg.\r\n\r\n```\r\np - hello there, <strong>username</strong>.\r\n```\r\n\r\nA demo on http://markojs.com/try-online/ would help. Currently the only demo with inline tags are using macro. I think it's an overkill to do this with macro.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/marko-js/marko/issues/comments/216012659","html_url":"https://github.com/marko-js/marko/issues/277#issuecomment-216012659","issue_url":"https://api.github.com/repos/marko-js/marko/issues/277","id":216012659,"user":{"login":"patrick-steele-idem","id":978214,"avatar_url":"https://avatars.githubusercontent.com/u/978214?v=3","gravatar_id":"","url":"https://api.github.com/users/patrick-steele-idem","html_url":"https://github.com/patrick-steele-idem","followers_url":"https://api.github.com/users/patrick-steele-idem/followers","following_url":"https://api.github.com/users/patrick-steele-idem/following{/other_user}","gists_url":"https://api.github.com/users/patrick-steele-idem/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-steele-idem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-steele-idem/subscriptions","organizations_url":"https://api.github.com/users/patrick-steele-idem/orgs","repos_url":"https://api.github.com/users/patrick-steele-idem/repos","events_url":"https://api.github.com/users/patrick-steele-idem/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-steele-idem/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T03:37:06Z","updated_at":"2016-05-01T03:37:06Z","body":"Hey @bitinn, sorry for not being able to respond earlier. We definitely need to add better docs for the new syntax (we have plans to do this very soon). FYi, all of the following are equivalent:\r\n\r\n```xml\r\np - hello there, <strong>username</strong>.\r\n```\r\n\r\n```xml\r\np\r\n  - hello there, <strong>username</strong>.\r\n```\r\n\r\n```xml\r\np\r\n  ---\r\n  hello there, <strong>username</strong>.\r\n  ---\r\n```\r\n\r\n```xml\r\np\r\n  - hello there,\r\n  strong - username\r\n  - .\r\n```\r\n\r\nThere are four ways to enter into HTML parsing mode:\r\n\r\n**Option 1. HTML tag:**\r\n```\r\n<div>\r\n  [this will be parsed as HTML]\r\n</div>\r\n```\r\n\r\n**Option 2. HTML line after tag/attributes:**\r\n```\r\ndiv - [this will be parsed as HTML]\r\n```\r\n\r\n**Option 3. Single line HTML block:**\r\n```\r\ndiv\r\n  - [this will be parsed as HTML]\r\n```\r\n\r\n**Option 4. Multiline, delimited HTML block:**\r\n```\r\ndiv\r\n  ---\r\n  [this will be parsed\r\n  as HTML]\r\n  ---\r\n```\r\n\r\nSorry this wasn't explained better in the docs. Please let me know if you have any other questions. Also, please join us on Gitter if you haven't already: https://gitter.im/marko-js/marko"}}