jumpingrivers / namer

R package :package: for labelling chunks of RMarkdown files! :boom:
https://jumpingrivers.github.io/namer/
Other
94 stars 11 forks source link

Switch to more elegant approach #9

Open maelle opened 6 years ago

maelle commented 6 years ago

If possible one day... e.g. if commonmark full loop possible, and something implemented for chunk options (currently in Commonmark XML the whole chunk header is "info" of a code block), then use xml2.

Cf the end of https://ropensci.org/technotes/2018/09/05/commonmark/

maelle commented 6 years ago

That said, if I used https://github.com/ropenscilabs/tinkr, we'd have to deal with losses whereas the current approach only changes the lines with chunk info.