-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow SiteConfig to specify attributes for Asciidoctor.convert #8
Comments
NB... had a crack at this myself: com.sysgears.grain.markup.asciidoc.AsciiDoctorProcessor#process:
tools/asciidoc-bridge/asciidoc_bridge.rb:
but for some reason it's not working, even though I've added logging and it looks like the right things are being passed through. When I say not working I mean it's not picking up icon:font, although when I hard-code in the .rb file it works. May be a conversion issue between LinkedHashMap and ruby hash? I know almost nothing about ruby. |
Grain was updated to read Acsiidoctor custom document processing attributes from the SiteConfig -- the /SiteConfig.groovy:
You can find the example configuration in the theme template. As Victor had mentioned in the mailing list, the RPC executor had to be modified in order to pass a map of string key-value pairs to asciidoc bridge in |
Awesome, thanks a lot. On Mon, Aug 3, 2015 at 2:54 PM, Dmitriy Pavlenko notifications@github.com
|
For instance I want to pass:
"icons" => "font"
to convert in tools/asciidoc-bridge/asciidoc_bridge.rb, and I may not want coderay highlighter.
Eg in SiteConfig I want to put:
and have that passed through.
The text was updated successfully, but these errors were encountered: