tinkr: Cast '(R)Markdown' Files to 'XML' and Back Again

Parsing '(R)Markdown' files with numerous regular expressions can be fraught with peril, but it does not have to be this way. Converting '(R)Markdown' files to 'XML' using the 'commonmark' package allows in-memory editing via of 'markdown' elements via 'XPath' through the extensible 'R6' class called 'yarn'. These modified 'XML' representations can be written to '(R)Markdown' documents via an 'xslt' stylesheet which implements an extended version of 'GitHub'-flavoured 'markdown' so that you can tinker to your hearts content.

Package details

AuthorMaëlle Salmon [aut] (<https://orcid.org/0000-0002-2815-0399>), Zhian N. Kamvar [aut, cre] (<https://orcid.org/0000-0003-1458-7108>), Jeroen Ooms [aut], Nick Wellnhofer [cph] (Nick Wellnhofer wrote the XSLT stylesheet.), rOpenSci [fnd] (https://ropensci.org/), Peter Daengeli [ctb]
MaintainerZhian N. Kamvar <zkamvar@gmail.com>
LicenseGPL-3
Version0.2.0
URL https://docs.ropensci.org/tinkr/ https://github.com/ropensci/tinkr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("tinkr")

Try the tinkr package in your browser

Any scripts or data that you put into this service are public.

tinkr documentation built on March 31, 2023, 8:12 p.m.