r-lib / roxygen2md

Convert elements of roxygen documentation to markdown
https://roxygen2md.r-lib.org/
67 stars 8 forks source link

Export utility string to string translation utility #9

Closed alexpghayes closed 6 years ago

alexpghayes commented 6 years ago

I would love a function roxygen_text_to_md() to work with strings directly.

roxygen_text_to_md("And here we have \emph{italics} in some text.")
#> [1] "And here we have *italics* in some text."

This would be useful when translating old documentation to markdown when the old documentation needs additional processing before being written into roxygen2 comments, or when it won't live in roxygen2 comments (i.e. gets pulled from another file/etc via a @template or @evalRd tag).

krlmlr commented 6 years ago

Closed in #10.

github-actions[bot] commented 3 years ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.