newsmd | R Documentation |
This is a convenience wrapper for news$new()
. If you already have a
NEWS
file you can add it's path to newsmd()
.
newsmd(
file = NULL,
text = c(paste0("## version ", version), "", "---", "", "### NEWS.md setup", "",
"- added NEWS.md creation with [newsmd](https://github.com/Dschaykib/newsmd)", ""),
version = "0.0.0.9000"
)
file |
name of the |
text |
a character scalar containing the initial text. |
version |
a character with the version in the format
|
This functions creates a news
object, which can be saved as the
NEWS.md file with the internal method write()
. One can add versions,
subtitles and bullet points to the news
.
If an existing NEWS.md file is given, the version is extracted with
get_version
and the dev part is bumped up.
newsmd()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.