1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
<!--
%\VignetteEngine{knitr::knitr}
%\VignetteIndexEntry{Some Markdown Examples}
-->
This vignette shows some examples for different Markdown extensions and HTML options.
```{r read-code, include=FALSE}
library(knitr)
opts_chunk$set(tidy = FALSE) # otherwise \n will cause problems
read_chunk(system.file('examples', 'markdownExtensions.R', package = 'markdown'),
labels = 'md-extensions')
read_chunk(system.file('examples', 'HTMLOptions.R', package = 'markdown'),
labels = 'html-options')
```
```{r}
library(markdown)
```
# Markdown Extensions
```{r md-extensions}
```
# HTML Options
```{r html-options}
```
```{r include=FALSE}
options(markdown.HTML.options=markdownHTMLOptions(defaults=TRUE))
```
|