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