``` % pandoc --section-divs ::: {.mydiv} # header 1a one # header 1b two ::: ^D

header 1a

one

header 1b

two

``` ``` % pandoc --section-divs ::: mydiv # head 1 ## head 1.1 # head 2 ::: ## head 2.1 ^D

head 1

head 1.1

head 2

head 2.1

``` ``` % pandoc --section-divs # One ## One A ::: fence ## One B # Two ::: ^D

One

One A

One B

Two

``` ``` % pandoc --section-divs # Beginning ::: exterior At first... ::: In the beginning... ::: interior # Middle So it continued... ::: # Ending ::: exterior And finally... ::: ^D

Beginning

At first…

In the beginning…

Middle

So it continued…

Ending

And finally…

``` ``` % pandoc --section-divs ::: part # One # Two ::: ::: part # Three # Four # Five ::: ::: part # Six # Seven # Eight ::: ^D

One

Two

Three

Four

Five

Six

Seven

Eight

```