{"action":"created","issue":{"url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2097","labels_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2097/labels{/name}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2097/comments","events_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2097/events","html_url":"https://github.com/MarkUsProject/Markus/pull/2097","id":63456638,"number":2097,"title":"Preview new annotation with math","user":{"login":"paymog","id":1986950,"avatar_url":"https://avatars.githubusercontent.com/u/1986950?v=3","gravatar_id":"","url":"https://api.github.com/users/paymog","html_url":"https://github.com/paymog","followers_url":"https://api.github.com/users/paymog/followers","following_url":"https://api.github.com/users/paymog/following{/other_user}","gists_url":"https://api.github.com/users/paymog/gists{/gist_id}","starred_url":"https://api.github.com/users/paymog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paymog/subscriptions","organizations_url":"https://api.github.com/users/paymog/orgs","repos_url":"https://api.github.com/users/paymog/repos","events_url":"https://api.github.com/users/paymog/events{/privacy}","received_events_url":"https://api.github.com/users/paymog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-21T21:32:36Z","updated_at":"2015-03-27T15:47:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2097","html_url":"https://github.com/MarkUsProject/Markus/pull/2097","diff_url":"https://github.com/MarkUsProject/Markus/pull/2097.diff","patch_url":"https://github.com/MarkUsProject/Markus/pull/2097.patch"},"body":"When a marker creates a new annotation with math in it,\r\na preview of the annotation will be shown to the marker\r\nin the create-an-annotation popup.\r\n\r\nThis preview will only be shown if there is math content. ie: if there exists something to the effect of ```$$\\sum$$```. Specifically, there need to be at least two sets of ```$$```."},"comment":{"url":"https://api.github.com/repos/MarkUsProject/Markus/issues/comments/86981286","html_url":"https://github.com/MarkUsProject/Markus/pull/2097#issuecomment-86981286","issue_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2097","id":86981286,"user":{"login":"paymog","id":1986950,"avatar_url":"https://avatars.githubusercontent.com/u/1986950?v=3","gravatar_id":"","url":"https://api.github.com/users/paymog","html_url":"https://github.com/paymog","followers_url":"https://api.github.com/users/paymog/followers","following_url":"https://api.github.com/users/paymog/following{/other_user}","gists_url":"https://api.github.com/users/paymog/gists{/gist_id}","starred_url":"https://api.github.com/users/paymog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paymog/subscriptions","organizations_url":"https://api.github.com/users/paymog/orgs","repos_url":"https://api.github.com/users/paymog/repos","events_url":"https://api.github.com/users/paymog/events{/privacy}","received_events_url":"https://api.github.com/users/paymog/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T15:47:01Z","updated_at":"2015-03-27T15:47:01Z","body":"Is there a reason you'd like tabs other than the current rendering issue? The reason I ask is because I first gave tabs a shot but couldn't figure out a UI and on more thought decided that the UX of tabs isn't all that great (takes the user out of the context of writing the annotation). \r\n\r\nI have two different ideas for fixing the rendering issue:\r\n1) Render on a timeout. ie: render the math once the user takes a 3 second pause from typing\r\n2) Have the user press a button to see the preview which gets hidden on typing.\r\n\r\nWhat do you think?"}}