pandoc-crossref-0.3.19: test/m2m/listOfHidden/input.md
---
chapters: true
chaptersDepth: 1000
numberSections: true
codeBlockCaptions: true
---
# main section {-}
blah blah blah [@fig:fig1; @fig:fig_s1]
{#fig:fig1}
furthermore, etc., ([@fig:fig2; @fig:fig_s2])
{#fig:fig2}
and finally ([@fig:fig3])
{#fig:fig3}
# hidden supplemental section {label="S"}
{#fig:fig_s1 hidden=y}
{#fig:fig_s2 hidden=y}
# hidden section {hidden=y}
{#fig:fig_h1}
{#fig:fig_h2}
## subsection of a hidden section
{#fig:fig_h1_s}
{#fig:fig_h2_s}
# regular section
{#fig:fig_r1}
{#fig:fig_r2}
## normal subsection {hidden=n}
{#fig:fig_nss1}
{#fig:fig_nss2}
## hidden subsection {hidden=y}
{#fig:fig_ss1}
{#fig:fig_ss2}
{#fig:fig_ss3 hidden=n}
:::{#fig:subfigs}
{#fig:fig_sss1}
{#fig:fig_sss2}
hidden! subfigures
:::
```{#lst:listing .haskell}
main = putStrLn "Hello, World!"
```
: hidden!
<!---->
```{#lst:listing2 .haskell hidden=n}
main = putStrLn "Hello, World!"
```
: visible!
<!---->
foo bar
--- ---
1 10
2 20
3 30
: hidden! table {#tbl:table1}
:::{#tbl:table2 hidden=n}
foo bar
--- ---
1 10
2 20
3 30
: visible! table
:::
# one more regular section
{#fig:fig_or1}
{#fig:fig_or2}
<!---->
\listoffigures
<!---->
\listoflistings
<!---->
\listoftables