Sign inSign up

fmlorg/pandoc

By fmlorg

•Updated over 3 years ago

pandoc wrapper to convert documents, supporting a few additional features such as \newpage.

Image
0

919

fmlorg/pandoc repository overview

github repository is dockerfile-fmlorg/pandoc⁠.

You can pandoc command in the following way. This example is markdown to docx conversion but any combination must work.

In .docx case, you can use pagebreak features. Please use \newpage in the pagebreak position.

docker run --rm  -v "$(pwd):/workdir"  --user $(id -u):$(id -g)  fmlorg/pandoc pandoc -f markdown -t docx --filter=pandoc-docx-pagebreakpy index.md -o index.docx

⁠markdown example

# title

## section

foo, bar, egg and spam, nudge nudge, ...

\newpage

## page 2

the next page 2 starts here after the page break.

Tag summary

Content type

Image

Digest

sha256:b9ef13522…

Size

669.3 MB

Last updated

over 3 years ago

docker pull fmlorg/pandoc