файл tabset.rmd
Код: Выделить всё
---
title: "Test Tabset"
date: "Last edited: `r format(Sys.time(), '%d.%m.%Y')`"
output: html_document
---
# City Trips {.tabset}
These are some sightseeing tips for the cities.
## London {.tabset}
Start your sightseeing in **London** now with these popular spots
### Buckingham Palace
Enjoy a glimpse into the life of royalty with...
### Tower of London
Explore the Tower of London and discover...
## Paris {.tabset}
Start your sightseeing in **Paris** now with these popular spots
### Eiffel Tower
The Eiffel Tower is the most famous landmark in the French capital...
```{r , echo=FALSE, eval=TRUE, fig.cap='Eiffel Tower', out.width='50%'}
knitr::include_graphics('images/Eiffel_Tower.png')
```
### Louvre Museum
Housing a vast collection of art spanning centuries and continents...
## Tokyo {.tabset}
Start your sightseeing in **Tokyo** now with these popular spots
### Shinjuku
Shinjuku is one of the 23 city wards of Tokyo, but the name...
### Edo-Tokyo Museum
The Edo-Tokyo Museum is housed in a unique looking building in the Ryogoku district...
См. Рендерированный результат:
Подробнее здесь: https://stackoverflow.com/questions/797 ... n-document
Мобильная версия