Last active
July 8, 2023 22:25
asciidoctorとasciidoctor-diagramとpandocを使ってasciidocからdocxを作る
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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