Skip to content

Understanding the pandoc AST "schema" better #9436

Answered by jgm
alexanderjulmer asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, a heading is allowed in a bullet list in the pandoc AST.
The docx reader may be set up not to return this, but :

 % pandoc -f markdown -t native
- # Hi
- ok
[ BulletList
    [ [ Header 1 ( "hi" , [] , [] ) [ Str "Hi" ] ]
    , [ Plain [ Str "ok" ] ]
    ]
]

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@alexanderjulmer
Comment options

@jgm
Comment options

jgm Feb 11, 2024
Maintainer

Answer selected by alexanderjulmer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants