Description Usage Arguments Value Examples
Generate a html element suitable for a nav-list.
1 |
title |
name of the nav element |
href |
link to the element |
active |
should the element be shown as active? |
html code with the nav element
1 2 3 4 5 | el1 <- nav_elem("About", "/about.html", active=FALSE)
el2 <- nav_elem("Index", "/index.html", active=TRUE)
cat(as.character(el1))
cat(as.character(el2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.