formatitko/test/test-files/test-partial.md

64 lines
1 KiB
Markdown
Raw Normal View History

2023-01-31 00:44:48 +01:00
---
title: A subfile!
---
2023-01-30 01:46:50 +01:00
I am a little piece of content
# With a title!
And things...
:::{if=cat}
:::
2023-01-30 01:46:50 +01:00
``` {.python .run}
# I set my own flags!
ctx.set_flag("cat", True)
2023-01-30 01:46:50 +01:00
```
``` {.python .run}
println(f"The subdocument's title is \n\n# {ctx.get_metadata('title')}")
println()
println(f"The subdocument's subtitle is \n\n## {ctx.get_metadata('subtitle')}")
```
```markdown {.group}
---
language: "cs"
---
2023-02-02 16:39:18 +01:00
Tak toto je "v prádelně" pánové!
```
```markdown {.group}
---
language: "en"
---
2023-02-02 16:39:18 +01:00
This is "in a laundry room" gentlemen!
```
I am a duck.
2023-01-30 01:46:50 +01:00
:::{if=cat}
This should be only shown to included cats.
:::
$$
\def\eqalign#1{NO, just, nooooo}
\eqalign{}
$$
![This is a figure, go figure...](logo.svg){width=25%}
![This is a figure, go figure...](logo.pdf){width=50%}
![This is a figure, go figure...](logo.jpg){width=50%}
![This is a figure, go figure...](logo1.png){width=10em}
![Fakt epesní reproduktor](reproduktor.jpeg){width=10em}
![Fakt epesní reproduktor](reproduktor.png "Hodně rozpixelovaný obrázek reproduktoru"){width=10em file-width=1000}