{"action":"created","issue":{"url":"https://api.github.com/repos/tripit/slate/issues/269","labels_url":"https://api.github.com/repos/tripit/slate/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/tripit/slate/issues/269/comments","events_url":"https://api.github.com/repos/tripit/slate/issues/269/events","html_url":"https://github.com/tripit/slate/issues/269","id":85904403,"number":269,"title":"MathJax and Slate","user":{"login":"xflouris","id":1271529,"avatar_url":"https://avatars.githubusercontent.com/u/1271529?v=3","gravatar_id":"","url":"https://api.github.com/users/xflouris","html_url":"https://github.com/xflouris","followers_url":"https://api.github.com/users/xflouris/followers","following_url":"https://api.github.com/users/xflouris/following{/other_user}","gists_url":"https://api.github.com/users/xflouris/gists{/gist_id}","starred_url":"https://api.github.com/users/xflouris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xflouris/subscriptions","organizations_url":"https://api.github.com/users/xflouris/orgs","repos_url":"https://api.github.com/users/xflouris/repos","events_url":"https://api.github.com/users/xflouris/events{/privacy}","received_events_url":"https://api.github.com/users/xflouris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-07T13:49:21Z","updated_at":"2015-06-10T22:01:12Z","closed_at":null,"body":"Dear developers,\r\n\r\nI've been testing [Slate](https://github.com/tripit/slate) the past few days and it looks impressive! I'd like to use it for API documentation, but I'm having some problems with math output.\r\n\r\nWhile math formulas are rendered fine, linebreaking doesn't seem to work.\r\nFor example the following snippet\r\n\r\n```latex\r\n$$\r\n\\begin{array}{cc}\r\n  a & b \\\\\r\n  c & c\r\n\\end{array}\r\n$$ \r\n```\r\n\r\nshould produce a two-line table. However, everything is printed on a single line. Do you know if this is a problem of redcarpet or if I'm missing some option? I've also tried to use four backslashes (\\\\\\\\) instead of two, but it doesn't seem to work either.\r\n\r\nMy settings are the following:\r\n* I have used the default forked slate repo\r\n* I've added the above latex code at the end of /includes/_errors.md\r\n* in  the `<head>` section of /layouts/layout.erb I've added the line:\r\n\r\n```html\r\n<script type=\"text/javascript\" src=\"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML\"></script>`\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/tripit/slate/issues/comments/110929738","html_url":"https://github.com/tripit/slate/issues/269#issuecomment-110929738","issue_url":"https://api.github.com/repos/tripit/slate/issues/269","id":110929738,"user":{"login":"lord","id":1976330,"avatar_url":"https://avatars.githubusercontent.com/u/1976330?v=3","gravatar_id":"","url":"https://api.github.com/users/lord","html_url":"https://github.com/lord","followers_url":"https://api.github.com/users/lord/followers","following_url":"https://api.github.com/users/lord/following{/other_user}","gists_url":"https://api.github.com/users/lord/gists{/gist_id}","starred_url":"https://api.github.com/users/lord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lord/subscriptions","organizations_url":"https://api.github.com/users/lord/orgs","repos_url":"https://api.github.com/users/lord/repos","events_url":"https://api.github.com/users/lord/events{/privacy}","received_events_url":"https://api.github.com/users/lord/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T22:01:12Z","updated_at":"2015-06-10T22:01:12Z","body":"(I've seen this, just waiting for some free time to dive into finding the problem. Thanks for reporting it! :smile:)"}}