The (R)md to XML to (R)md loop on which tinkr is based is slightly lossy because of Markdown syntax redundancy, so the loop from (R)md to R(md) via to_xml and to_md will be a bit lossy. For instance

Such losses make your (R)md different, and the git diff a bit harder to parse, but should not change the documents your (R)md is rendered to. If it does, report a bug in the issue tracker!

A solution to not loose your Markdown style, e.g. your preferring "*" over "-" for lists is to tweak our XSL stylesheet and provide its filepath as stylesheet_path argument to to_md.



ropensci/tinkr documentation built on May 18, 2024, 8:34 a.m.