I have some troubles using a custom template with version 1.5.0-preview.8
I have created a /templates/html5/document.html.erb inside my directory based on the one from the asciidoctor-backends project.
When I try to convert my document with this command line: > asciidoctor -T templates/ test.adoc
I get this output:
undefined method `embed_pygments_stylesheet' for Asciidoctor::Stylesheets:Class
Yet, if I look in the lib/asciidoctor/stylesheets.rb file, this method exists ...
Running this with --trace points me to this line in the template:
On Mon, Jul 21, 2014 at 9:39 AM, ozeebee [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi there,
I have some troubles using a custom template with version 1.5.0-preview.8
I have created a /templates/html5/document.html.erb inside my directory based on the one from the asciidoctor-backends project.
When I try to convert my document with this command line: > asciidoctor -T templates/ test.adoc
I get this output:
undefined method `embed_pygments_stylesheet' for Asciidoctor::Stylesheets:Class
Yet, if I look in the lib/asciidoctor/stylesheets.rb file, this method exists ...
Running this with --trace points me to this line in the template: