gmailr icon indicating copy to clipboard operation
gmailr copied to clipboard

Add markdown

Open statnmap opened this issue 5 years ago • 2 comments

  • add gm_markdown_body() for a body in markdown
  • Markdown text is transformed into HTML using {markdown}
  • I updated doc and DESCRIPTION using attachment::att_amend_desc() as some deps in DESCRIPTION were not necessary anymore apparently

attachment::att_amend_desc(extra.suggests = "covr", pkg_ignore = "base") could be used after each dev modification.

statnmap avatar Jul 22 '20 12:07 statnmap

Thanks for working on the PR. I think if we were going to add markdown support we should use the rmarkdown package rather than the markdown package.

Please remove the unrelated DESCRIPTION dependency changes.

jimhester avatar Jul 27 '20 13:07 jimhester

I do not see in {rmarkdown} which function I can use to render a text fragment, other than creating a temporary external file to render with html_fragment() .
Did I miss something in the package?

statnmap avatar Jul 28 '20 14:07 statnmap