{"action":"created","issue":{"url":"https://api.github.com/repos/Khan/KaTeX/issues/426","labels_url":"https://api.github.com/repos/Khan/KaTeX/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/Khan/KaTeX/issues/426/comments","events_url":"https://api.github.com/repos/Khan/KaTeX/issues/426/events","html_url":"https://github.com/Khan/KaTeX/issues/426","id":125138264,"number":426,"title":"How to add degree sign?","user":{"login":"evgeniy-storozhenko","id":6041943,"avatar_url":"https://avatars.githubusercontent.com/u/6041943?v=3","gravatar_id":"","url":"https://api.github.com/users/evgeniy-storozhenko","html_url":"https://github.com/evgeniy-storozhenko","followers_url":"https://api.github.com/users/evgeniy-storozhenko/followers","following_url":"https://api.github.com/users/evgeniy-storozhenko/following{/other_user}","gists_url":"https://api.github.com/users/evgeniy-storozhenko/gists{/gist_id}","starred_url":"https://api.github.com/users/evgeniy-storozhenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgeniy-storozhenko/subscriptions","organizations_url":"https://api.github.com/users/evgeniy-storozhenko/orgs","repos_url":"https://api.github.com/users/evgeniy-storozhenko/repos","events_url":"https://api.github.com/users/evgeniy-storozhenko/events{/privacy}","received_events_url":"https://api.github.com/users/evgeniy-storozhenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-06T09:08:45Z","updated_at":"2016-01-06T16:07:50Z","closed_at":null,"body":"Hi guys, could you help me with that issue? I just try this simple code:\r\n\r\n```\r\n<html>\r\n<head>\r\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n    <link rel=\"stylesheet\" href=\"katex.min.css\">\r\n    <script src=\"katex.min.js\"></script>\r\n</head>\r\n<body>\r\n\r\n<div id=\"katexBlock\">\r\n</div>\r\n\r\n<script>\r\n    var exp = \"sin(30^{\\circ})\";\r\n    var elem = document.getElementById(\"katexBlock\");\r\n    elem.innerHTML = katex.renderToString(exp);;\r\n</script>\r\n\r\n</body>\r\n</html>\r\n```\r\n\r\nbut result is:\r\n<img width=\"103\" alt=\"result\" src=\"https://cloud.githubusercontent.com/assets/6041943/12139015/14374db0-b47f-11e5-92b7-9be613f7b4d1.png\">\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Khan/KaTeX/issues/comments/169371404","html_url":"https://github.com/Khan/KaTeX/issues/426#issuecomment-169371404","issue_url":"https://api.github.com/repos/Khan/KaTeX/issues/426","id":169371404,"user":{"login":"kevinbarabash","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinbarabash","html_url":"https://github.com/kevinbarabash","followers_url":"https://api.github.com/users/kevinbarabash/followers","following_url":"https://api.github.com/users/kevinbarabash/following{/other_user}","gists_url":"https://api.github.com/users/kevinbarabash/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinbarabash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinbarabash/subscriptions","organizations_url":"https://api.github.com/users/kevinbarabash/orgs","repos_url":"https://api.github.com/users/kevinbarabash/repos","events_url":"https://api.github.com/users/kevinbarabash/events{/privacy}","received_events_url":"https://api.github.com/users/kevinbarabash/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T16:07:50Z","updated_at":"2016-01-06T16:07:50Z","body":"The example works on http://khan.github.io/KaTeX/.  In this case though you don't need to wrap `\\circ` in a group.  Also the `\\sin` operator is the correct way to write \"sin\".  `\\sin(30^\\circ)`.  Which version of KaTeX are you using?"}}