news_to_md | R Documentation |
Converts a traditional NEWS files into a Markdown NEWS.md File
news_to_md(
pkg = ".",
input = "NEWS",
output = "NEWS.md",
overwrite = FALSE,
package = NULL,
style = c("NEWS", "pkgdown"),
category_case = c("TitleCase", "as-is"),
escape = TRUE,
verbose = FALSE
)
pkg |
Package path. |
input |
The name of the input ‘NEWS’ file. |
output |
The name of the output ‘NEWS.md’ file. |
overwrite |
If TRUE, an existing output file is overwritten. |
package |
The name of the package. If not specified, it is inferred from the ‘DESCRIPTION’ file. |
style |
The style of the ‘NEWS.md’ file. |
category_case |
The style of the category headers. |
escape |
If TRUE, symbols that have special meaning in Markdown are escaped. |
verbose |
If TRUE, a summary of the parsed ‘NEWS’ file is outputted. This can be useful to identify mistypes category titles. |
(invisible) The Markdown output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.