【文件属性】:
文件名称:asciidoctor_template:我使用 asciidoctor-fopub 创建 asciidoc 文档的模板
文件大小:440KB
文件格式:ZIP
更新时间:2021-07-05 18:16:52
Ruby
asciidoctor_template
我使用 asciidoctor-fopub 创建 asciidoc 文档的模板
设置
bundle install --jobs 4 --path vendor/bundle --binstubs vendor/bin
制作html
bundle exec rake html
制作pdf
bundle exec rake pdf
文件监视模式
bundle exec rake watch
每当您保存*.adoc文件时,都会生成*.pdf文件。
bundle exec rake watch TARGET=html
每当您保存*.adoc文件时,都会生成*.html文件。
【文件预览】:
asciidoctor_template-master
----.gitignore(30B)
----.envrc.sample(47B)
----embed_image_sample.adoc(3KB)
----sample1.png(205KB)
----LICENSE(1KB)
----sample3.svg(9KB)
----README.md(518B)
----Gemfile(234B)
----Rakefile(1KB)
----embed_image_sample.pdf(262KB)
----Gemfile.lock(701B)