View source: R/utilities-writing-report.R
getAnchorName | R Documentation |
Get the name/identifier an anchor tag
getAnchorName(tag)
tag |
Character string |
A character Name/identifier of the anchor tag
Other reporting:
addFigureChunk()
,
addTableChunk()
,
addTextChunk()
,
anchor()
,
copyReport()
,
getFigurePathsFromReport()
,
hasAnchor()
,
mergeMarkdownFiles()
,
renderReport()
,
renderWordReport()
,
resetReport()
getAnchorName('<a id="section-1"></a>')
# Works also for tag name instead of id
getAnchorName('<a name="section-1"></a>')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.