Re: Embed asciidoc into Haml

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Embed-asciidoc-into-Haml-tp683p692.html

Stéphane,

I'll send instructions shortly.

-Dan


On Fri, Oct 4, 2013 at 1:06 AM, fleurystephane [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Thanks again!

Sorry, but I'm a newbie with Ruby and I'm not able to do what you advice me.

Do I have to download zip haml-contrib-asciidoc-filter from github in my ...jruby-1.7.4\lib\ruby\gems\shared\gems directory ?
And where do I save the asciidoc.rb and how to require it ?

My pipeline.rb with the required file...? :
------------
require 'bootstrap-sass'
require 'asciidoc'

Awestruct::Extensions::Pipeline.new do
  # extension Awestruct::Extensions::Posts.new '/news'
  # extension Awestruct::Extensions::Indexifier.new
  # Indexifier *must* come before Atomizer
  # extension Awestruct::Extensions::Atomizer.new :posts, '/feed.atom'
end
-----------

Thank you for helping me
Stéphane


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Embed-asciidoc-into-Haml-tp683p690.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | http://google.com/profiles/dan.j.allen