{"action":"created","issue":{"url":"https://api.github.com/repos/greyblake/vim-preview/issues/39","labels_url":"https://api.github.com/repos/greyblake/vim-preview/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/greyblake/vim-preview/issues/39/comments","events_url":"https://api.github.com/repos/greyblake/vim-preview/issues/39/events","html_url":"https://github.com/greyblake/vim-preview/issues/39","id":53300767,"number":39,"title":"MathJax support","user":{"login":"verga","id":997307,"avatar_url":"https://avatars.githubusercontent.com/u/997307?v=3","gravatar_id":"","url":"https://api.github.com/users/verga","html_url":"https://github.com/verga","followers_url":"https://api.github.com/users/verga/followers","following_url":"https://api.github.com/users/verga/following{/other_user}","gists_url":"https://api.github.com/users/verga/gists{/gist_id}","starred_url":"https://api.github.com/users/verga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verga/subscriptions","organizations_url":"https://api.github.com/users/verga/orgs","repos_url":"https://api.github.com/users/verga/repos","events_url":"https://api.github.com/users/verga/events{/privacy}","received_events_url":"https://api.github.com/users/verga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-03T10:42:46Z","updated_at":"2015-10-06T01:31:35Z","closed_at":null,"body":"You may add these lines to autoload/preview.vim file\r\n\r\n     247                                                                                \r\n     248  <script type=\"text/javascript\"                                        \r\n     249    src=\"https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML\">                                                            \r\n     250  </script>                                                            \r\n\r\nto allow \\\\(inline formula\\\\) and \\\\[diplay formula\\\\] to be translated in latex using MathJax. "},"comment":{"url":"https://api.github.com/repos/greyblake/vim-preview/issues/comments/145718583","html_url":"https://github.com/greyblake/vim-preview/issues/39#issuecomment-145718583","issue_url":"https://api.github.com/repos/greyblake/vim-preview/issues/39","id":145718583,"user":{"login":"tobanw","id":667531,"avatar_url":"https://avatars.githubusercontent.com/u/667531?v=3","gravatar_id":"","url":"https://api.github.com/users/tobanw","html_url":"https://github.com/tobanw","followers_url":"https://api.github.com/users/tobanw/followers","following_url":"https://api.github.com/users/tobanw/following{/other_user}","gists_url":"https://api.github.com/users/tobanw/gists{/gist_id}","starred_url":"https://api.github.com/users/tobanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobanw/subscriptions","organizations_url":"https://api.github.com/users/tobanw/orgs","repos_url":"https://api.github.com/users/tobanw/repos","events_url":"https://api.github.com/users/tobanw/events{/privacy}","received_events_url":"https://api.github.com/users/tobanw/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T01:31:35Z","updated_at":"2015-10-06T01:31:35Z","body":"Just to clarify this, you need to type `\\\\(inline math\\\\)` or `\\\\[display math\\\\]` because RedCarpet (and most other renderers) requires the backslash to be escaped. The result is that when rendered as html, you get `\\(inline math\\)` or `\\[display math\\]`, which MathJax then converts."}}