middleman / middleman-syntax

Code syntax highlighting plugin via Rouge for Middleman
https://middlemanapp.com
MIT License
179 stars 57 forks source link

Doesn't seem to work with asciidoc #52

Closed payneio closed 8 years ago

payneio commented 9 years ago
gem "middleman-syntax"
gem "asciidoctor"
set :markdown_engine, :redcarpet                                                                                                                                    set :markdown, fenced_code_blocks: true, smartypants: true                                                                                                          
activate :syntax, line_numbers: true                                                                                                                                
activate :asciidoc                                                                                                                                                  
set :asciidoc_attributes, %w(source-highlighter=rouge imagesdir=images) 

When a template is *.html.md, the code block gets decorated.

When a template is *.html.asciidoc, the code block does not get decorated.

bhollis commented 9 years ago

That is correct, this extension does not include any support for Asciidoc.