{"action":"created","issue":{"url":"https://api.github.com/repos/mike-ward/Markdown-Edit/issues/185","repository_url":"https://api.github.com/repos/mike-ward/Markdown-Edit","labels_url":"https://api.github.com/repos/mike-ward/Markdown-Edit/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/mike-ward/Markdown-Edit/issues/185/comments","events_url":"https://api.github.com/repos/mike-ward/Markdown-Edit/issues/185/events","html_url":"https://github.com/mike-ward/Markdown-Edit/issues/185","id":175130302,"number":185,"title":"PDF Math Rendering Issues","user":{"login":"RoyiAvital","id":7347975,"avatar_url":"https://avatars.githubusercontent.com/u/7347975?v=3","gravatar_id":"","url":"https://api.github.com/users/RoyiAvital","html_url":"https://github.com/RoyiAvital","followers_url":"https://api.github.com/users/RoyiAvital/followers","following_url":"https://api.github.com/users/RoyiAvital/following{/other_user}","gists_url":"https://api.github.com/users/RoyiAvital/gists{/gist_id}","starred_url":"https://api.github.com/users/RoyiAvital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoyiAvital/subscriptions","organizations_url":"https://api.github.com/users/RoyiAvital/orgs","repos_url":"https://api.github.com/users/RoyiAvital/repos","events_url":"https://api.github.com/users/RoyiAvital/events{/privacy}","received_events_url":"https://api.github.com/users/RoyiAvital/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-05T21:49:56Z","updated_at":"2016-09-06T12:48:48Z","closed_at":null,"body":"Hello,\r\n\r\nI created a MarkDown document with the following code:\r\n\r\n[MarkDownCode](http://pastebin.com/jq2KDQAA)\r\n\r\nI encountered and issue with the PDF rendering.\r\nIt seems the PDF is rendered before the Math Equations rendering is finished hence part of the math is missing.\r\nMoreover some of the math is wrongly rendered.\r\n\r\n[Here is the PDF](http://docdro.id/EM1Za0t) (See last page for the rendering issue).\r\n\r\nI really liked the feature pasting image automatically uploads them to imgur - Amazing!\r\n\r\nThank You.\r\n\r\nP. S.\r\nThe HTML code and the \"Preview\" wasn't synced.\r\nI tried the code on [MacDown](http://macdown.uranusjr.com/) and the PDF was perfectly rendered and the preview was synced.\r\nSince [MacDown](https://github.com/MacDownApp/macdown) is open source, why not copy its preview syncing algorithm?\r\n\r\nThank You.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mike-ward/Markdown-Edit/issues/comments/244939430","html_url":"https://github.com/mike-ward/Markdown-Edit/issues/185#issuecomment-244939430","issue_url":"https://api.github.com/repos/mike-ward/Markdown-Edit/issues/185","id":244939430,"user":{"login":"mike-ward","id":567927,"avatar_url":"https://avatars.githubusercontent.com/u/567927?v=3","gravatar_id":"","url":"https://api.github.com/users/mike-ward","html_url":"https://github.com/mike-ward","followers_url":"https://api.github.com/users/mike-ward/followers","following_url":"https://api.github.com/users/mike-ward/following{/other_user}","gists_url":"https://api.github.com/users/mike-ward/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-ward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-ward/subscriptions","organizations_url":"https://api.github.com/users/mike-ward/orgs","repos_url":"https://api.github.com/users/mike-ward/repos","events_url":"https://api.github.com/users/mike-ward/events{/privacy}","received_events_url":"https://api.github.com/users/mike-ward/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T12:48:48Z","updated_at":"2016-09-06T12:48:48Z","body":"Your best bet for rendering PDF that looks exactly like the preview is to \"Print\" the preview to a PDF converter. There are lots of free print to PDF programs out there.\r\n\r\nWhy? Because JavaScript is being run after the rendering. It's a bit like saying my animations are not showing up in PDF. For most documents, MDE's PDF conversion will work fine, but it will fall down on documents with extensive post processing (MathJax for instance). The only way to really render a page for conversion is to Print it (that I know of). \r\n\r\nI'll think about an option to add a, \"use this printer to write PDF\". In the meantime, experiment with the print to PDF programs and see if that gives you better results."}}
{"actor":{"display_login":"mike-ward"}}