Package: tinkr 0.2.0.9001
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.
Authors:
tinkr_0.2.0.9001.tar.gz
tinkr_0.2.0.9001.zip(r-4.5)tinkr_0.2.0.9001.zip(r-4.4)tinkr_0.2.0.9001.zip(r-4.3)
tinkr_0.2.0.9001.tgz(r-4.4-any)tinkr_0.2.0.9001.tgz(r-4.3-any)
tinkr_0.2.0.9001.tar.gz(r-4.5-noble)tinkr_0.2.0.9001.tar.gz(r-4.4-noble)
tinkr_0.2.0.9001.tgz(r-4.4-emscripten)tinkr_0.2.0.9001.tgz(r-4.3-emscripten)
tinkr.pdf |tinkr.html✨
tinkr/json (API)
NEWS
# Install 'tinkr' in R: |
install.packages('tinkr', repos = c('https://zkamvar.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ropensci/tinkr/issues
Pkgdown:https://docs.ropensci.org
Last updated 1 months agofrom:9dc038a588. Checks:OK: 3 NOTE: 4. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 25 2024 |
R-4.5-win | NOTE | Nov 25 2024 |
R-4.5-linux | NOTE | Nov 25 2024 |
R-4.4-win | NOTE | Nov 25 2024 |
R-4.4-mac | NOTE | Nov 25 2024 |
R-4.3-win | OK | Nov 25 2024 |
R-4.3-mac | OK | Nov 25 2024 |
Exports:find_betweenget_protectedmd_nsprotect_curlyprotect_mathshow_blockshow_censorshow_liststylesheetto_mdto_md_vecto_xmlyarn
Dependencies:clicommonmarkgluelifecyclemagrittrpurrrR6Rcpprlangvctrsxml2xsltyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Find between a pattern | find_between |
Get protected nodes | get_protected |
Aliased namespace prefix for commonmark | md_ns |
Protect curly elements for further processing | protect_curly |
Protect math elements from commonmark's character escape | protect_math |
Display a node or nodelist as markdown | show_block show_censor show_list |
The tinkr stylesheet | stylesheet |
Write YAML and XML back to disk as (R)Markdown | to_md to_md_vec |
Transform file to XML | to_xml |
R6 class containing XML representation of Markdown | yarn |