View source: R/utilities-writing-report.R
hasAnchor | R Documentation |
Check if a character string includes an anchor tag
hasAnchor(tag)
tag |
Character string |
A logical
Other reporting:
addFigureChunk()
,
addTableChunk()
,
addTextChunk()
,
anchor()
,
copyReport()
,
getAnchorName()
,
getFigurePathsFromReport()
,
mergeMarkdownFiles()
,
renderReport()
,
renderWordReport()
,
resetReport()
# Flags both anchors using id or name
hasAnchor('<a id="section-1"></a>')
hasAnchor('<a name="section-1"></a>')
hasAnchor("# section 1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.