Closed hadley closed 6 years ago
Can you give an example of what the conversion you have in mind? Rd requires a specific structure with \title{}
, \description{}
, \details{}
, etc. What would this look like in markdown?
I was thinking just for inline rd, like stuff you'd put in the details etc.
OK. I guess if we can map out how the markdown types (p
, h1
-h5
, ol
, ul
, code
, etc) are represented in Rdoc then it shouldn't be too difficult to write a converter.
Yeah, I think it's mostly those (and maybe not even headings), strong and emph, definition lists (if that's in commonmark, can't remember), code blocks (-> preformatted) and tables.
Oh, I just saw this. I guess this is exactly what maxygen does.
How hard would it be? Then I could use it in roxygen