aboutsummaryrefslogtreecommitdiff
path: root/test/command/6030.md
blob: e05bf6e7f665886c9e9efbd70b7950026f76befa (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
```
% pandoc -t revealjs --slide-level=3
# One

One

## Two

Two

### Three

Three

#### Four

Four

# New sec

New sec

## New sub

New sub
^D
<section>
<section id="one" class="title-slide slide level1">
<h1>One</h1>
<p>One</p>
</section>
<section id="two" class="title-slide slide level2">
<h2>Two</h2>
<p>Two</p>
</section>
<section id="three" class="slide level3">
<h3>Three</h3>
<p>Three</p>
<h4 id="four">Four</h4>
<p>Four</p>
</section>
</section>
<section>
<section id="new-sec" class="title-slide slide level1">
<h1>New sec</h1>
<p>New sec</p>
</section>
<section id="new-sub" class="title-slide slide level2">
<h2>New sub</h2>
<p>New sub</p>
</section>
</section>
```

```
% pandoc -t beamer --slide-level=3
# One

One

## Two

Two

### Three

Three

#### Four

Four
^D
\hypertarget{one}{%
\section{One}\label{one}}

\begin{frame}{One}
One
\end{frame}

\hypertarget{two}{%
\subsection{Two}\label{two}}

\begin{frame}{Two}
Two
\end{frame}

\begin{frame}{Three}
\protect\hypertarget{three}{}
Three

\begin{block}{Four}
\protect\hypertarget{four}{}
Four
\end{block}
\end{frame}
```