$ git clone https://github.com/pandoc/lua-filters.git
\newpage か \pagebreak を入力した行を追加する。$ pandoc --lua-filter lua-filters/pagebreak/pagebreak.lua INPUT.md -o OUTPUT.docx
INPUT.md: 入力ファイルの markdown テキストOUTPUT.docx: 出力ファイル–lua-filter: クローンした pagebreak.lua のパスstyle.odt とする)。$ pandoc --lua-filter lua-filters/pagebreak/pagebreak.lua --reference-doc style.odt INPUT.md -o OUTPUT.odt