{"action":"created","issue":{"url":"https://api.github.com/repos/chjj/marked/issues/667","labels_url":"https://api.github.com/repos/chjj/marked/issues/667/labels{/name}","comments_url":"https://api.github.com/repos/chjj/marked/issues/667/comments","events_url":"https://api.github.com/repos/chjj/marked/issues/667/events","html_url":"https://github.com/chjj/marked/issues/667","id":110502166,"number":667,"title":"Different DOM structure for inline/fenced code blocks","user":{"login":"gaui","id":477881,"avatar_url":"https://avatars.githubusercontent.com/u/477881?v=3","gravatar_id":"","url":"https://api.github.com/users/gaui","html_url":"https://github.com/gaui","followers_url":"https://api.github.com/users/gaui/followers","following_url":"https://api.github.com/users/gaui/following{/other_user}","gists_url":"https://api.github.com/users/gaui/gists{/gist_id}","starred_url":"https://api.github.com/users/gaui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaui/subscriptions","organizations_url":"https://api.github.com/users/gaui/orgs","repos_url":"https://api.github.com/users/gaui/repos","events_url":"https://api.github.com/users/gaui/events{/privacy}","received_events_url":"https://api.github.com/users/gaui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-08T17:20:41Z","updated_at":"2015-10-11T20:03:55Z","closed_at":null,"body":"With GFM, both inline code blocks and fenced code blocks provide the following DOM structure:\r\n\r\n    <p><code>...</code></p>\r\n\r\nInline code block:\r\n\r\n    `code`\r\n\r\nFenced codeblock:\r\n\r\n    ```\r\n    code\r\n    ```\r\n\r\nI would like to style the inline code block differently with CSS than the fenced code block.\r\n\r\nHow can I do this? There's no way to target the inline code block."},"comment":{"url":"https://api.github.com/repos/chjj/marked/issues/comments/147240645","html_url":"https://github.com/chjj/marked/issues/667#issuecomment-147240645","issue_url":"https://api.github.com/repos/chjj/marked/issues/667","id":147240645,"user":{"login":"gaui","id":477881,"avatar_url":"https://avatars.githubusercontent.com/u/477881?v=3","gravatar_id":"","url":"https://api.github.com/users/gaui","html_url":"https://github.com/gaui","followers_url":"https://api.github.com/users/gaui/followers","following_url":"https://api.github.com/users/gaui/following{/other_user}","gists_url":"https://api.github.com/users/gaui/gists{/gist_id}","starred_url":"https://api.github.com/users/gaui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaui/subscriptions","organizations_url":"https://api.github.com/users/gaui/orgs","repos_url":"https://api.github.com/users/gaui/repos","events_url":"https://api.github.com/users/gaui/events{/privacy}","received_events_url":"https://api.github.com/users/gaui/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T20:03:55Z","updated_at":"2015-10-11T20:03:55Z","body":"Here is a screenshot. I'm using `marked()` without any options so it's using default options. As you can see there is no difference between inline code block and a fenced code block.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/477881/10418721/2f4a479e-7053-11e5-8378-2dcbb4370e6c.png)"}}