Copy-Pasting / Appending Pandoc Blocks #66
Unanswered
simonvincenthk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to to change the order of the sections by manipulating the
Pandoc()AST.I'm able identify and access elements I would like to move by iterating through the original
Pandoc()object; however, I am struggling to add them to a holder or newPandoc()object.Can the
Block()attribute (_arg1) in aPandoc(Meta, [Block])object be treated like a list and be appended to with standard Python operators or methods?I am considering something like this once I identify an element I would like to place in the holder while itterating:
Best regards, Simon
Beta Was this translation helpful? Give feedback.
All reactions