Skip to content

Instantly share code, notes, and snippets.

@wtnabe
Last active July 8, 2023 22:25
asciidoctorとasciidoctor-diagramとpandocを使ってasciidocからdocxを作る
#! /bin/sh
asciidoctor -r asciidoctor-diagram --backend docbook --out-file - $1 | \
pandoc --from docbook --to docx --reference-doc simple-doc.docx --output `basename $1 .adoc`.docx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment