Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes on unknitting #7

Open
maelle opened this issue Sep 19, 2018 · 4 comments
Open

Notes on unknitting #7

maelle opened this issue Sep 19, 2018 · 4 comments
Labels
enhancement ✨ New feature or request

Comments

@maelle
Copy link
Member

maelle commented Sep 19, 2018

Not an actual goal of tinkr at the moment. How would one unknit a Word docx document?

  • Need to convert the docx to something else first.

    • Not sure how one could map its XML to Commonmark XML.
    • One possibility is using Pandoc conversion to GFM, then apply to_xml and to_md to that Markdown.
  • One would lose information about the chunk options anyway. And in case echo=FALSE, the whole chunks. It'd be cool to match the paragraphs etc. to paragraphs in the original R Markdown document. If changes were tracked, removed stuff could be more easily mapped. So one would need to unknit before accepting changes? Also related to https://github.com/ropenscilabs/trackmd

@maelle
Copy link
Member Author

maelle commented Sep 19, 2018

Inline evaluated code is a bit more problematic.

@maelle
Copy link
Member Author

maelle commented Sep 19, 2018

Linked to ropensci/unconf18#76 cc @goldingn (:wave: @goldingn, for now this package only does (R)md -> XML -> (R)md in order to be able to edit the XML)

@maelle maelle changed the title Note on unknitting Notes on unknitting Sep 19, 2018
@maelle
Copy link
Member Author

maelle commented Sep 19, 2018

@maelle maelle added the enhancement ✨ New feature or request label Sep 24, 2018
@maelle
Copy link
Member Author

maelle commented Oct 4, 2018

cf also #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant