{"action":"created","issue":{"url":"https://api.github.com/repos/chjj/marked/issues/1045","repository_url":"https://api.github.com/repos/chjj/marked","labels_url":"https://api.github.com/repos/chjj/marked/issues/1045/labels{/name}","comments_url":"https://api.github.com/repos/chjj/marked/issues/1045/comments","events_url":"https://api.github.com/repos/chjj/marked/issues/1045/events","html_url":"https://github.com/chjj/marked/issues/1045","id":294697578,"number":1045,"title":"Space in code (```) a wrong ","user":{"login":"theGABS","id":8490641,"avatar_url":"https://avatars3.githubusercontent.com/u/8490641?v=4","gravatar_id":"","url":"https://api.github.com/users/theGABS","html_url":"https://github.com/theGABS","followers_url":"https://api.github.com/users/theGABS/followers","following_url":"https://api.github.com/users/theGABS/following{/other_user}","gists_url":"https://api.github.com/users/theGABS/gists{/gist_id}","starred_url":"https://api.github.com/users/theGABS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theGABS/subscriptions","organizations_url":"https://api.github.com/users/theGABS/orgs","repos_url":"https://api.github.com/users/theGABS/repos","events_url":"https://api.github.com/users/theGABS/events{/privacy}","received_events_url":"https://api.github.com/users/theGABS/received_events","type":"User","site_admin":false},"labels":[{"id":766819535,"url":"https://api.github.com/repos/chjj/marked/labels/question","name":"question","color":"bfd4f2","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-06T10:00:45Z","updated_at":"2018-02-09T14:10:24Z","closed_at":null,"author_association":"NONE","body":"## Expectation\r\n\r\nSpace and tabs show as I wrote\r\n\r\n## Result\r\n\r\nevery two space replace with new line\r\n\r\n## What was attempted\r\n\r\nI try extends \r\n\r\nrenderer.code = (code, language) => {\r\n  debugger // code variable already with wrong space\r\n  return `<pre><code class=\"lang-${language}\">${code}</code></pre>`\r\n}\r\n<!-- Describe what code combination got you there -->\r\n\r\nI try use Reveal.js via npm (and React). \r\nAnd highlight.js \r\n"},"comment":{"url":"https://api.github.com/repos/chjj/marked/issues/comments/364443644","html_url":"https://github.com/chjj/marked/issues/1045#issuecomment-364443644","issue_url":"https://api.github.com/repos/chjj/marked/issues/1045","id":364443644,"user":{"login":"theGABS","id":8490641,"avatar_url":"https://avatars3.githubusercontent.com/u/8490641?v=4","gravatar_id":"","url":"https://api.github.com/users/theGABS","html_url":"https://github.com/theGABS","followers_url":"https://api.github.com/users/theGABS/followers","following_url":"https://api.github.com/users/theGABS/following{/other_user}","gists_url":"https://api.github.com/users/theGABS/gists{/gist_id}","starred_url":"https://api.github.com/users/theGABS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theGABS/subscriptions","organizations_url":"https://api.github.com/users/theGABS/orgs","repos_url":"https://api.github.com/users/theGABS/repos","events_url":"https://api.github.com/users/theGABS/events{/privacy}","received_events_url":"https://api.github.com/users/theGABS/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T14:10:24Z","updated_at":"2018-02-09T14:10:24Z","author_association":"NONE","body":"So, when I wrote \r\n\r\n```javascript\r\nfunction fancyAlert(arg) {\r\n  if(arg) {\r\n                $.facebox({div:'#foo'})\r\n  }\r\n}\r\n\r\n```\r\nI got\r\n![image](https://user-images.githubusercontent.com/8490641/36031472-91dff9b2-0db3-11e8-9732-7fc3fab1e85f.png)\r\n\r\n\r\nInstead of correct tab.\r\nEvery two space replace with new line."}}
{"actor":{"display_login":"theGABS"}}