doc.filename = "addFooter/example.html"
options( "ReporteRs-fontsize" = 11 )
doc = bsdoc( )
doc = addFooter( doc, value = pot( "Code licensed under ",
format = textProperties(color="gray") ) +
pot("GPL-3", format = textProperties(color="#428bca"),
hyperlink = "https://gnu.org/licenses/gpl.html" ) +
pot(".", format = textProperties(color="gray") ),
par.properties = parCenter( padding = 2 )
)
writeDoc( doc, file = doc.filename )
Run the code above in your browser using DataLab