Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1020 Bytes

readme.md

File metadata and controls

29 lines (19 loc) · 1020 Bytes

SpongeDown in R

Build Status AppVeyor Build Status

Spongedown converts markdown file to html with support for svgbob diagrams.

This R package wraps the spongedown cargo crate.

Examples

Spongedown converts markdown file to html with support for svgbob diagrams. Try the online demo!

To convert it in R:

library(spongedown)
text <- readLines(system.file('examples/demo.bob', package = 'spongedown'))
html <- spongedown(text)
utils::browseURL(html)

Installation in R

The hellorust readme has instructions on how to setup rust on Windows, MacOS or Linux. After that you can just do:

devtools::install_github("r-rust/spongedown")