reformat | R Documentation |
This function will take an existing NEWS.md file and convert it to pkgdown readable format. The former format should have headings that begin with
CHANGES for 'CHANGES IN VERSION'
'New' for 'New features'
'Bug' for 'Bug fixes and minor improvements'
These headings usually begin with 'h2' headers or double hashtag. An n-1 operation is performed on these headings (if the heading had two hashtags 'h2', they are now converted to one hashtag 'h1').
reformat(pkg = ".", backup = ".bak")
pkg |
character(1) The directory location of the package usually the current directory (default: ".") |
backup |
character(1) The file extension to add for backing up the original news file (default: '.bak') |
Saves a "NEWS.md" file with alternative format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.