---
title: 'Wooooo a title'
subtitle: 'A subtitle'
are_we_there_yet: False
lang: "en"
---
:::: {.header_content}
::: {partial="test-top.html" type="html"}
:::
::::
[#test-files/test-import.md]{type=md}
[#test.json]{type=metadata key=orgs}
```python {.run}
return parse_string(f"Hello, {context.get_metadata('orgs')[0]['first_name']}!")
```
# Hello world!
## H2
### H3
#### H4
##### H5
###### H6
This is an *example* **yay** !
This is *very * *strongly** emphasised*
Příliš žluťoučký kůň pěl dábelské ódy. *Příliš žluťoučký kůň pěl dábelské ódy.* **Příliš žluťoučký kůň pěl dábelské ódy.** ** *Příliš žluťoučký kůň pěl dábelské ódy.***
:::{partial=test-files/evil.md untrusted=True}
:::
:::{partial=test-files/test-partial.md}
:::
:::{if=cat}
This should only be shown to cats
:::
```python {.run}
context.set_flag("cat", True)
```
```python {.run}
context.set_metadata("a", {})
context.set_metadata("a.b", {})
context.set_metadata("a.b.c", "Bruh **bruh** bruh")
return [*parse_string("The main document's title is "), pf.Quoted(*parse_string(context.get_metadata('title')), quote_type="SingleQuote"), pf.Str(".")]
```
```python {style=native}
def bruh(no):
wat
```
```python {style=dracula}
def bruhec(bruzek):
hah
```
Inline `code`
::::{if=cat}
This should only be shown to cats the second time
::::
# [$are_we_there_yet]{}
```markdown {.group}
---
lang: cs
---
V​ pravém jízdním bruhu.
V pravém jízdním bruhu.
V pravém jízdním bruhu.
V pravém jízdním bruhu.
[!opendatatask]{}
[!opendatatask2]{}
```
[This too!]{if=cat}
[What]{.co}
[An inline command with contents and **bold** and another [!nop]{} inside!]{c=nop}
[!nop]{a=b}<!-- A special command! WOW -->
[Hehehehe čeština bružek]{lang=cs}
> OOO a blockquote mate init
>
>> Nesting??
>> Woah
A non-breakable space bro
A lot of spaces
A text with some inline math: $\sum_{i=1}^nn^2$. Plus some display math:
A link with the link in the link: < https: / / bruh . com >
H~2~O is a liquid. 2^10^ is 1024.
[Kuchařka ](ksp:///kucharky/uvodni )
[Underline]{.underline}
:::{only=html}
$$
\def\eqalign#1{\begin{align*}#1\end{align*}}
$$
:::
$$
\eqalign{
2 x_2 + 6 x_3 & = 14 \cr
x_1 - 3 x_2 + 2 x_3 & = 5 \cr
-x_1 + 4 x_2 + \phantom{1} x_3 & = 2
}
$$
:::{partial=test-files/test-partial.md}
:::
---
In this text, there might be some phrases [v češtině]{.group lang=cs} and
maybe even
:::{.group lang=cs}
celé pasáže textu v češtině.
Růžový bagr bez zeleného bagru se žlutým bagrem.
Yay můžeme mít izolované kontexty bez opakovaného volání pandocu jupí!
:::
This should be seen by all.^[This is a footnote]
| Matematicko-fyzikální fakulta University Karlovy
| Malostranské nám. 2/25
| 118 00 Praha 1
More footnotes.^[I am a foot]
To Do:
- buy eggs
- buy milk
- ???
- profit
- also create sublists preferrably
1. Woah
2. Wooo
3. no
4) WOO
``` {=html}
< figure >
< video src = "woah.mp4" autoplay > < / video >
< figcaption > This is indeed a video < / figcaption >
< / figure >
```
#. brum
#. BRUHHH
#. woah
i. bro
ii. wym bro
+---------------------+-----------------------+
| Location | Temperature 1961-1990 |
| | in degree Celsius |
+---------------------+-------+-------+-------+
| | min | mean | max |
+=====================+=======+=======+======:+
| Antarctica | -89.2 | N/A | 19.8 |
+---------------------+-------+-------+-------+
| Earth | -89.2 | 14 | 56.7 |
+---------------------+-------+-------+-------+
------- ------ ---------- -------
12 12 12 12
123 123 123 123
1 1 1 1
------- ------ ---------- -------
```python {define=bash}
import subprocess
c = subprocess.run(["bash", "-c", element.text], stdout=subprocess.PIPE, check=True, encoding="utf-8")
return [pf.Para(pf.Str(c.stdout))]
```
```bash {c=bash}
cat /etc/hostname
```
```html
< div >
hahahahaah
< / div >
```
`<div>`