1.4 KiB
1.4 KiB
title |
---|
A subfile! |
I am a little piece of content
With a title!
And things...
:::{if=cat}
:::
# I set my own flags!
context.set_flag("cat", True)
return import_md_list(f"The subdocument's title is\n\n# {context.get_metadata('title')}\n\nThe subdocument's subtitle is\n\n## {context.get_metadata('subtitle')}")
return [
pf.Para(*parse_string("The subdocument's title is")),
pf.Header(*parse_string(context.get_metadata('title')), level=1),
pf.Para(*parse_string("The subdocument's subtitle is")),
pf.Header(*parse_string(context.get_metadata('subtitle')), level=2)
]
---
lang: "cs"
---
Tak toto je "v prádelně" pánové!
---
lang: "en"
---
This is "in a laundry room" gentlemen!
I am a duck.
:::{if=cat} This should be only shown to included cats. :::
\def\eqalign#1{NO, just, nooooo}
\eqalign{}
{width=25%}What
{width=50%}
{width=10em}
{width=10em file-width=1000}
{width=50%}