Re: Custom style on title/heading element?
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/Solved-Custom-style-on-title-heading-element-tp4543p4563.html
I've updated the sample project I created for using AsciiDoc with Middleman that includes the correct configuration. You can study it to see what is missing. That project works for me.
Note that I put templates in:
source/_templates
And I configured AsciiDoc as follows:
set :asciidoc, {
safe: :safe,
template_dir: 'source/_templates',
attributes: %W(showtitle env=middleman env-middleman middleman-version=#{Middleman::VERSION})
}
set :asciidoc_attributes, %w(icons=font source-highlighter=coderay coderay-css=style)