adoc 生成html或html
时间: 2023-07-06 09:14:24 浏览: 439
可以使用 Asciidoctor 工具将 AsciiDoc 格式的文档转换成 HTML 或 HTML5 格式。可以使用以下命令进行转换:
```
asciidoctor input.adoc -o output.html
```
其中,`input.adoc` 是输入的 AsciiDoc 文件,`output.html` 是生成的 HTML 文件。 `-o` 参数指定输出的文件名。
如果要生成 HTML5 格式的文档,可以使用以下命令:
```
asciidoctor -b html5 input.adoc -o output.html
```
其中, `-b` 参数指定输出的文档格式为 html5。
阅读全文
相关推荐


















