level
parameter making it root level (title by default) which is later
used to determine depth od latter sectionsclean_text_newlines
and make it properly add (or not) new lines
between TEXT tagsfind_package_root
helper and rebuild how the package discovers
default macros locations.block()
around rd2markdown.description
to make sure all subsections
render appropriately.rd2markdown.enumerate
and rd2markdown.itemize
Add rd2markdown.subsection
to further support various .Rd structures. And
explicitly enhances the support for the inst/NEWS.rd files. (?utils::news
)
rd2markdown.section
now returns output as a block to make sure it is
wrapped with new lines and renders sections properly.
add merge_text_spaces
functions that merges standalone TEXT
spaces (" "
) into surrounding TEXT tags. Excessive spaces are not rendered
by markdown and therefore can be appended to other meaningful tags. (To later
get reduced by the "clean_text_whitespace")
Add levels
parameter to most of the tags that could be nested in subsection
to make sure proper amount of #
is appended.
rd2markdown.item
no longer throws an error if \\item
tag was miss used in
the .Rd file and is read as list()
.\code{}
no longer throws unnecessary warnings for long \code{}
contents.
(#28 @dgkf)\verb{}
tag would cause rd2markdown.code
to throw unexpected
warnings and NAs (#22 @maksymiuks).Stop trimming white signs in rd2markdown.TEXT
and map_rd2markdown
. This
should ensure that paragraphs are applied whenever they are necessary
instead of being skipped. (#17 @maksymiuks, @dgkf)
Enhance behavior of the rd2markdown.character
function allowing it
to discover improper arguments names and rise meaningful errors. (@maksymiuks)
Adding preformatted code block handling (#15 @dgkf)
Minor change to S3 method exports (#1 @dgkf)
Minor bug fix to header formatting (additional preceeding newline), which affects a subset of markdown renderers (#3 @dgkf)
Add macros
parameter to get_rd()
function to allow handling of
custom macros while converting to markdown. (#6 @maksymiuks)
Replace any possible character(0)
with ""
in the rd2markdown.tabular
,
additional handling for missing lines/cells in table rendering
(#8 @maksymiuks, @dgkf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.