-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Gemfile
source 'https://rubygems.org'
gem 'asciidoctor', '2.0.11'
gem 'asciidoctor-multipage', '0.0.12 '
tmp.adoc
= h1
== h2
Builds fine with the standard:
bundle exec asciidoctor -b multipage_html5 -D out/tmp -r asciidoctor-multipage tmp.adoc
Outcome: out/tmp/tmp.html
and out/tmp/_h2.html
are generated as expected.
But if I add --template-dir template_dir
on the command line to create custom output elements (see https://stackoverflow.com/questions/63917971/how-to-create-custom-html-output-for-an-existing-asciidoctor-asciidoc-macro/63917972#63917972 ):
mkdir template_dir
bundle exec asciidoctor -b multipage_html5 -D out/tmp --template-dir template_dir -r asciidoctor-multipage tmp.adoc
then only out/tmp/tmp.html
is generated, but not out/tmp/_h2.html
.
It does not make a difference it template_dir
contain anything or not.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working