```{definition truth}
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak
Here is a definition.
```{example} \leavevmode\vspace{-\baselinestretch\parskip}\nobreak * One * Two Here is an example.
Here is some more boring text in between.
```{theorem, label="thm1", name="Foo"}
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak
Bookdown is needed for things like theorems and internal references
```{proposition, label="prp1", name="Thingy we need for \\@ref(thm:thm1)"} \leavevmode\vspace{-\baselinestretch\parskip}\nobreak * One * Two You can create new theorem types
\needspace{\baselineskip}
```{newtheorem looksee, env='Thought', label="tho1", name="Bar of \@ref(thm:thm1)"}
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak
You can create new theorem types
```{newtheorem, env="Proof", name="Of theorem \\@ref(thm:thm1)"} \leavevmode\vspace{-\baselinestretch\parskip}\nobreak * One * Two Here is a proof
```{proof,name="Proof of theorem \@ref(thm:thm1)"}
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak
Here is a proof
```{newtheorem, env='Defns'} \leavevmode\vspace{-\baselinestretch\parskip}\nobreak * One * Two You can create new unumbered theorem types
```{newtheorem, env='Nugget', label="nug1"}
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak
You can create new theorem types
```{newtheorem, env='Example'} \leavevmode\vspace{-\baselinestretch\parskip}\nobreak * One * Two An example
```{newtheorem, env='Solution', label="sol1"}
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak
You can create new theorem types
```{newtheorem, env='Exercises'} \leavevmode\vspace{-\baselinestretch\parskip}\nobreak * One * Two Here is a question
```{solution haha}
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak
Test
# Testing the reference link back Now go to theorem \@ref(thm:thm1) or thought \@ref(tho:tho1) ```{solution haha}
\needspace{3\baselineskip}
```{definition truth}
```{newtheorem looksee, env='Thought', label="tho1", name="Bar of \\@ref(thm:thm1)"}
Now an actual new thing: ```{newtheorem, env='Thought', label='tho2'}
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak
Stuff and nonsense ```
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.