diff --git a/_plugins/asciidoc.rb b/_plugins/asciidoc.rb index f2b3039a..15ab6758 100644 --- a/_plugins/asciidoc.rb +++ b/_plugins/asciidoc.rb @@ -12,7 +12,7 @@ def output_ext(ext) end def convert(content) - Asciidoctor::Document.new(content).render + Asciidoctor.load(content, {:attributes => {'imagesdir' => '../'}}).render end end end