{"action":"created","issue":{"url":"https://api.github.com/repos/apache/zeppelin/issues/1606","repository_url":"https://api.github.com/repos/apache/zeppelin","labels_url":"https://api.github.com/repos/apache/zeppelin/issues/1606/labels{/name}","comments_url":"https://api.github.com/repos/apache/zeppelin/issues/1606/comments","events_url":"https://api.github.com/repos/apache/zeppelin/issues/1606/events","html_url":"https://github.com/apache/zeppelin/pull/1606","id":187582961,"number":1606,"title":"[ZEPPELIN-777] Math formula support ","user":{"login":"Leemoonsoo","id":1540981,"avatar_url":"https://avatars.githubusercontent.com/u/1540981?v=3","gravatar_id":"","url":"https://api.github.com/users/Leemoonsoo","html_url":"https://github.com/Leemoonsoo","followers_url":"https://api.github.com/users/Leemoonsoo/followers","following_url":"https://api.github.com/users/Leemoonsoo/following{/other_user}","gists_url":"https://api.github.com/users/Leemoonsoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Leemoonsoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leemoonsoo/subscriptions","organizations_url":"https://api.github.com/users/Leemoonsoo/orgs","repos_url":"https://api.github.com/users/Leemoonsoo/repos","events_url":"https://api.github.com/users/Leemoonsoo/events{/privacy}","received_events_url":"https://api.github.com/users/Leemoonsoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-11-06T19:29:45Z","updated_at":"2016-11-21T11:30:29Z","closed_at":"2016-11-09T18:06:23Z","pull_request":{"url":"https://api.github.com/repos/apache/zeppelin/pulls/1606","html_url":"https://github.com/apache/zeppelin/pull/1606","diff_url":"https://github.com/apache/zeppelin/pull/1606.diff","patch_url":"https://github.com/apache/zeppelin/pull/1606.patch"},"body":"### What is this PR for?\r\nThis PR adds support for formatting math formula formatting in %html display system using MathJax library.\r\n\r\n### What type of PR is it?\r\nFeature\r\n\r\n### Todos\r\n* [x] - Format math formula with MathJax library\r\n\r\n### What is the Jira issue?\r\nhttps://issues.apache.org/jira/browse/ZEPPELIN-777\r\n\r\n### How should this be tested?\r\ntry run following codes.\r\n```\r\n%md\r\nWhen \\\\(a \\\\ne 0\\\\), there are two solutions to \\\\(ax^2 + bx + c = 0\\\\) and they are\r\n$$x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}.$$\r\n```\r\nNote MathJax works better with `markdown.parser.type` property set `pegdown`, in markdown interpreter. With default markdown4j parser, some formula is not well displayed. (for example, ax^2) I think this will not be a big problem because of we'll remove markdown4j https://github.com/apache/zeppelin/pull/1594\r\n\r\n```\r\n%sh echo -e \"%html \\$\\$a = b\\$\\$\"\r\n```\r\n\r\n```\r\n%spark println(\"%html $$b = c$$\")\r\n```\r\n\r\n### Screenshots (if appropriate)\r\n![image](https://cloud.githubusercontent.com/assets/1540981/20040864/3b69c540-a414-11e6-8f8a-fdf7ee1370a6.png)\r\n\r\n### Questions:\r\n* Does the licenses files need update? yes\r\n* Is there breaking changes for older versions? no\r\n* Does this needs documentation? yes\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/zeppelin/issues/comments/261912946","html_url":"https://github.com/apache/zeppelin/pull/1606#issuecomment-261912946","issue_url":"https://api.github.com/repos/apache/zeppelin/issues/1606","id":261912946,"user":{"login":"tae-jun","id":8201019,"avatar_url":"https://avatars.githubusercontent.com/u/8201019?v=3","gravatar_id":"","url":"https://api.github.com/users/tae-jun","html_url":"https://github.com/tae-jun","followers_url":"https://api.github.com/users/tae-jun/followers","following_url":"https://api.github.com/users/tae-jun/following{/other_user}","gists_url":"https://api.github.com/users/tae-jun/gists{/gist_id}","starred_url":"https://api.github.com/users/tae-jun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tae-jun/subscriptions","organizations_url":"https://api.github.com/users/tae-jun/orgs","repos_url":"https://api.github.com/users/tae-jun/repos","events_url":"https://api.github.com/users/tae-jun/events{/privacy}","received_events_url":"https://api.github.com/users/tae-jun/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T11:30:29Z","updated_at":"2016-11-21T11:30:29Z","body":"@giaosudau You clarified the issue! Would you like to create a [JIRA](https://issues.apache.org/jira/browse/ZEPPELIN) ticket for that? :-) Then other developers will see the issue. Since this PR is already merged, so it seems to be handled on another PR. Thanks."}}
{"actor":{"display_login":"tae-jun"}}