From 7169fd4b302ea41518a086e4019169c8a4e9ff0d Mon Sep 17 00:00:00 2001 From: CaoWangrenbo Date: Mon, 11 Mar 2024 12:14:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0adoc=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=E5=88=B0docx=E7=9A=84=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 ++++- adoc2docx.bat | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 adoc2docx.bat diff --git a/.gitignore b/.gitignore index 494ce59..bf4aea1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,7 @@ 要求 # vscode 文档 -.vscode \ No newline at end of file +.vscode + +# 根目录下临时生成的 docx 文件 +/*.docx \ No newline at end of file diff --git a/adoc2docx.bat b/adoc2docx.bat new file mode 100644 index 0000000..357af8a --- /dev/null +++ b/adoc2docx.bat @@ -0,0 +1 @@ +asciidoctor --backend docbook --out-file - main.adoc | pandoc --from docbook --to docx --output main.docx \ No newline at end of file