Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.17 KB

README.mdx

File metadata and controls

42 lines (31 loc) · 1.17 KB
output
github_document

writeMDX 👹

writeMDX writes Rmarkdown (.Rmd) files to MDX. Nice and simple 😎

Install 👐

You can install it with remotes::install_github("RobertMyles/writeMDX").

Use 👇

With a file named “heyho.Rmd”:

writeMDX("heyho.Rmd")

Why?? 😕

I love React, and I just rebuilt my website using gatsby.js, so now I want all the ease and power of MDX. The only missing piece of the puzzle was doing some stuff in R, and then writing it out to an .mdx file that I can use to add in all the other stuff I want, like D3 graphs. R + React + Markdown = :purple_heart:

No CRAN? 😢

This won’t go on CRAN, since it’s mainly rmarkdown package functions with an added format, which you can do yourself quite easily.