{"action":"created","issue":{"url":"https://api.github.com/repos/Khan/KaTeX/issues/1298","repository_url":"https://api.github.com/repos/Khan/KaTeX","labels_url":"https://api.github.com/repos/Khan/KaTeX/issues/1298/labels{/name}","comments_url":"https://api.github.com/repos/Khan/KaTeX/issues/1298/comments","events_url":"https://api.github.com/repos/Khan/KaTeX/issues/1298/events","html_url":"https://github.com/Khan/KaTeX/pull/1298","id":321382441,"number":1298,"title":"Support for top-level \\newline and \\\\ in inline math","user":{"login":"edemaine","id":2218736,"avatar_url":"https://avatars1.githubusercontent.com/u/2218736?v=4","gravatar_id":"","url":"https://api.github.com/users/edemaine","html_url":"https://github.com/edemaine","followers_url":"https://api.github.com/users/edemaine/followers","following_url":"https://api.github.com/users/edemaine/following{/other_user}","gists_url":"https://api.github.com/users/edemaine/gists{/gist_id}","starred_url":"https://api.github.com/users/edemaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edemaine/subscriptions","organizations_url":"https://api.github.com/users/edemaine/orgs","repos_url":"https://api.github.com/users/edemaine/repos","events_url":"https://api.github.com/users/edemaine/events{/privacy}","received_events_url":"https://api.github.com/users/edemaine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-08T23:39:34Z","updated_at":"2018-05-12T14:38:56Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/Khan/KaTeX/pulls/1298","html_url":"https://github.com/Khan/KaTeX/pull/1298","diff_url":"https://github.com/Khan/KaTeX/pull/1298.diff","patch_url":"https://github.com/Khan/KaTeX/pull/1298.patch"},"body":"Built on top of #1287, so blocked on that.  Fix #171.\r\n\r\nThis was a little tricky because `\\\\` was defined as an `endOfExpression`.  Instead made `\\\\` a termination specific to an array environment.\r\n\r\nOutside an array environment, buildHTML handles the `cr` object, resulting in a `.newline` class.\r\n\r\nCurrently this turns into a `display: block` (with appropriate vertical spacing) only in inline math, matching LaTeX behavior.  But we should consider always turning into a `display: block`, maybe only at the top level, at least in nonstrict mode...\r\n\r\nDemo:\r\n\r\n![image](https://user-images.githubusercontent.com/2218736/39788390-4d6b67d2-52f8-11e8-89cc-5a4ca3bb3804.png)\r\n\r\nWith optional argument:\r\n\r\n![image](https://user-images.githubusercontent.com/2218736/39788403-59e6f530-52f8-11e8-97a5-0552d7302b5e.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Khan/KaTeX/issues/comments/388559527","html_url":"https://github.com/Khan/KaTeX/pull/1298#issuecomment-388559527","issue_url":"https://api.github.com/repos/Khan/KaTeX/issues/1298","id":388559527,"user":{"login":"ylemkimon","id":888148,"avatar_url":"https://avatars1.githubusercontent.com/u/888148?v=4","gravatar_id":"","url":"https://api.github.com/users/ylemkimon","html_url":"https://github.com/ylemkimon","followers_url":"https://api.github.com/users/ylemkimon/followers","following_url":"https://api.github.com/users/ylemkimon/following{/other_user}","gists_url":"https://api.github.com/users/ylemkimon/gists{/gist_id}","starred_url":"https://api.github.com/users/ylemkimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylemkimon/subscriptions","organizations_url":"https://api.github.com/users/ylemkimon/orgs","repos_url":"https://api.github.com/users/ylemkimon/repos","events_url":"https://api.github.com/users/ylemkimon/events{/privacy}","received_events_url":"https://api.github.com/users/ylemkimon/received_events","type":"User","site_admin":false},"created_at":"2018-05-12T14:38:56Z","updated_at":"2018-05-12T14:38:56Z","author_association":"COLLABORATOR","body":"@kevinbarabash CircleCI currently doesn't run tests, including `flow`, but it will added by PR #1211."}}
{"actor":{"display_login":"ylemkimon"}}