View source: R/format_toc_entry.R
format_toc_entry | R Documentation |
The function is used for its side-effect of printing a table of contents entry.
format_toc_entry(entry, padding = "2em", html_file = "")
entry |
a character string to be converted to a Table of Contents entry. |
padding |
a character string to be added to the front of the entry string typically for indentation purposes. |
html_file |
URL for the page containing the node. Defaults to |
format_toc_entry(c("Header 1", "Header 2")) format_toc_entry("Header 1", "---->", "mypage.html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.