I have this content in Guardfile:

Bundler.require(:default)

require 'asciidoctor'
require 'erb'

guard 'shell' do
  watch(/^*\.adoc$/) do |m|
    Asciidoctor.convert_file(m[0], :to_dir => 'output', :in_place => true)
  end
end


and my .adoc files start with something like:

= My Title
:source-highlighter: pygments
:pygments-css: class
:linkcss:
:toc: left
:sectlinks:
:webfonts!:

If I generate the html versions from the command line, I get everything as 
expected, styles for asciidoctor and pygments.
If I rely on guard and Asciidoctor.conver_file (as above), I get plain html 
with no css files generated. The resulting
html file just has a link to asciidoctor.css (but not the the pygments 
one), which does not exist because it is not generated.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to