{"action":"created","issue":{"url":"https://api.github.com/repos/jennybc/happy-git-with-r/issues/82","repository_url":"https://api.github.com/repos/jennybc/happy-git-with-r","labels_url":"https://api.github.com/repos/jennybc/happy-git-with-r/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/jennybc/happy-git-with-r/issues/82/comments","events_url":"https://api.github.com/repos/jennybc/happy-git-with-r/issues/82/events","html_url":"https://github.com/jennybc/happy-git-with-r/pull/82","id":318572510,"number":82,"title":"Converting other document formats into github markdown","user":{"login":"dmcalli2","id":8640663,"avatar_url":"https://avatars2.githubusercontent.com/u/8640663?v=4","gravatar_id":"","url":"https://api.github.com/users/dmcalli2","html_url":"https://github.com/dmcalli2","followers_url":"https://api.github.com/users/dmcalli2/followers","following_url":"https://api.github.com/users/dmcalli2/following{/other_user}","gists_url":"https://api.github.com/users/dmcalli2/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcalli2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcalli2/subscriptions","organizations_url":"https://api.github.com/users/dmcalli2/orgs","repos_url":"https://api.github.com/users/dmcalli2/repos","events_url":"https://api.github.com/users/dmcalli2/events{/privacy}","received_events_url":"https://api.github.com/users/dmcalli2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-27T22:58:51Z","updated_at":"2018-04-30T16:01:41Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/jennybc/happy-git-with-r/pulls/82","html_url":"https://github.com/jennybc/happy-git-with-r/pull/82","diff_url":"https://github.com/jennybc/happy-git-with-r/pull/82.diff","patch_url":"https://github.com/jennybc/happy-git-with-r/pull/82.patch"},"body":"As per issue #81. I have suggested some paragraphs. \r\n\r\nI also tested whether it is true that \"For simpler conversions between the different markdown flavours supported by Pandoc (mmd, php_extra and strict), you can convert these to Github using the Rstudio gui by simply renaming their extension to .Rmd\". It does appear to be true that this leads to better formatted markdown, at least with the extension .md\r\n\r\nCouldn't find a decent list of markdown editors so I have dropped that.\r\n\r\nFeel free to take or leave, of course."},"comment":{"url":"https://api.github.com/repos/jennybc/happy-git-with-r/issues/comments/385444513","html_url":"https://github.com/jennybc/happy-git-with-r/pull/82#issuecomment-385444513","issue_url":"https://api.github.com/repos/jennybc/happy-git-with-r/issues/82","id":385444513,"user":{"login":"dmcalli2","id":8640663,"avatar_url":"https://avatars2.githubusercontent.com/u/8640663?v=4","gravatar_id":"","url":"https://api.github.com/users/dmcalli2","html_url":"https://github.com/dmcalli2","followers_url":"https://api.github.com/users/dmcalli2/followers","following_url":"https://api.github.com/users/dmcalli2/following{/other_user}","gists_url":"https://api.github.com/users/dmcalli2/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcalli2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcalli2/subscriptions","organizations_url":"https://api.github.com/users/dmcalli2/orgs","repos_url":"https://api.github.com/users/dmcalli2/repos","events_url":"https://api.github.com/users/dmcalli2/events{/privacy}","received_events_url":"https://api.github.com/users/dmcalli2/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T16:01:40Z","updated_at":"2018-04-30T16:01:40Z","author_association":"NONE","body":"Hi Jenny,\r\nNot at all. Thanks for walking me through my first pull-request.\r\nBest wishes,\r\nDavid\r\n\r\nFrom: Jennifer (Jenny) Bryan [mailto:notifications@github.com]\r\nSent: 30 April 2018 16:59\r\nTo: jennybc/happy-git-with-r <happy-git-with-r@noreply.github.com>\r\nCc: David McAllister <David.McAllister@glasgow.ac.uk>; Author <author@noreply.github.com>\r\nSubject: Re: [jennybc/happy-git-with-r] Converting other document formats into github markdown (#82)\r\n\r\n\r\n@jennybc commented on this pull request.\r\n\r\nSorry about all the little changes. But in order to merge outside PRs, I have to do this. I can't merge in contributions that would require me to immediately switch to this project, pull and make several edits myself.\r\n\r\n________________________________\r\n\r\nIn 32_workflow-make-github-repo-browsable.Rmd<https://github.com/jennybc/happy-git-with-r/pull/82#discussion_r185029096>:\r\n\r\n>\r\n\r\n-For simpler conversions between the different markdown flavours supported by Pandoc (mmd, php_extra and strict), you can convert these to Github using the Rstudio gui by simply renaming their extension to .Rmd.\r\n\r\n+You can also perform simple conversions to GitHub-flavored mardkown from different markdown flavours (Pandoc support `markdown_mmd`, `markdown_php_extra` and `markdown_strict`) from within RStudio. To do so you need to rename the file by chaning the extension (eg from `foo.mmd` to `foo.Rmd`), then open the renamed file in RStudio and add the following text to the top of the document.\r\n\r\n+\r\n\r\n+``` yaml\r\n\r\n+---\r\n\r\n+output: github_document\r\n\r\n+---\r\n\r\n+```\r\n\r\n+\r\n\r\n+You can then click on \"Knit\" then \"Knit to github document\" to perform the conversion. See  http://happygitwithr.com/rmd-test-drive.html#output-format for more details of controlling output formats with the YAML frontmatter.\r\n\r\nThe link should be an internal one.\r\n\r\n—\r\nYou are receiving this because you authored the thread.\r\nReply to this email directly, view it on GitHub<https://github.com/jennybc/happy-git-with-r/pull/82#pullrequestreview-116338903>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AIPYlylsMBxza8ManLUijl2tMstjFD8uks5ttzSvgaJpZM4TrHWP>.\r\n"}}
{"actor":{"display_login":"dmcalli2"}}