File: split-section.Rmd

package info (click to toggle)
r-cran-bookdown 0.46%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,972 kB
  • sloc: javascript: 11,343; makefile: 21; sh: 20
file content (33 lines) | stat: -rw-r--r-- 360 bytes parent folder | download
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
---
title: "A Book"
author: "Frida Gomam"
output:
  bookdown::gitbook:
    split_by: section
---

# Section 1

Some content

## subsection 1

Hello.

See chapter 2 now at \@ref(section-2)

# Section 2

## subsection 21 {#sub2}

```{r iris-plot, fig.cap = "A plot"}
plot(iris)
```

See figure \@ref(fig:iris-plot)

# subsection 22

# Section 3

## subsection 3