{"action":"created","issue":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/2097","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/2097/labels{/name}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/2097/comments","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/2097/events","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/issues/2097","id":128180571,"number":2097,"title":"Feature request: Support line breaks in cheat sheets","user":{"login":"tagawa","id":94173,"avatar_url":"https://avatars.githubusercontent.com/u/94173?v=3","gravatar_id":"","url":"https://api.github.com/users/tagawa","html_url":"https://github.com/tagawa","followers_url":"https://api.github.com/users/tagawa/followers","following_url":"https://api.github.com/users/tagawa/following{/other_user}","gists_url":"https://api.github.com/users/tagawa/gists{/gist_id}","starred_url":"https://api.github.com/users/tagawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagawa/subscriptions","organizations_url":"https://api.github.com/users/tagawa/orgs","repos_url":"https://api.github.com/users/tagawa/repos","events_url":"https://api.github.com/users/tagawa/events{/privacy}","received_events_url":"https://api.github.com/users/tagawa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-22T15:34:16Z","updated_at":"2016-02-01T17:50:48Z","closed_at":null,"body":"For example being able to include code such as:\r\n```\r\nswitch control expression {\r\n  case pattern 1:\r\n    statements\r\n  case pattern 2 where condition:\r\n    statements\r\n  case pattern 3 where condition, pattern 4 where condition:\r\n    statements\r\n  default:\r\n    statements\r\n}\r\n```\r\nSuggestion by @gautamkrishnar "},"comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/comments/178093440","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/issues/2097#issuecomment-178093440","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/2097","id":178093440,"user":{"login":"vikashvverma","id":915277,"avatar_url":"https://avatars.githubusercontent.com/u/915277?v=3","gravatar_id":"","url":"https://api.github.com/users/vikashvverma","html_url":"https://github.com/vikashvverma","followers_url":"https://api.github.com/users/vikashvverma/followers","following_url":"https://api.github.com/users/vikashvverma/following{/other_user}","gists_url":"https://api.github.com/users/vikashvverma/gists{/gist_id}","starred_url":"https://api.github.com/users/vikashvverma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikashvverma/subscriptions","organizations_url":"https://api.github.com/users/vikashvverma/orgs","repos_url":"https://api.github.com/users/vikashvverma/repos","events_url":"https://api.github.com/users/vikashvverma/events{/privacy}","received_events_url":"https://api.github.com/users/vikashvverma/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T17:50:48Z","updated_at":"2016-02-01T17:50:48Z","body":"I have observed this too in a few cheat sheets:\r\n\r\n![2](https://cloud.githubusercontent.com/assets/915277/12725468/df3cacc6-c938-11e5-8439-e1865591abb8.gif)\r\n\r\n\r\n![1](https://cloud.githubusercontent.com/assets/915277/12725469/df664e0a-c938-11e5-92b9-733b3251b609.gif)\r\n\r\n\r\n@moollaza Adding following to regex fixed the issue.\r\n                                                                                                                                                 \r\n                .replace(/&lt;/g, \"<\")                                                                                                                                                       \r\n                .replace(/&gt;/g, \">\")  \r\n\r\nSee below : \r\n\r\n![2 2](https://cloud.githubusercontent.com/assets/915277/12725704/f77f563e-c939-11e5-9386-98515c6ea5a1.gif)\r\n\r\n\r\n\r\n![1 1](https://cloud.githubusercontent.com/assets/915277/12725597/85ed4274-c939-11e5-808f-80cafd507863.gif)\r\n\r\n"}}