diff --git a/doc-src/lib/data_sources/syntax_highter.rb b/doc-src/lib/data_sources/syntax_highter.rb index f0caee72..36eb8ff7 100644 --- a/doc-src/lib/data_sources/syntax_highter.rb +++ b/doc-src/lib/data_sources/syntax_highter.rb @@ -26,7 +26,7 @@ class SyntaxHighlighterFilter < Nanoc3::Filter def run(content, params={}) doc = Nokogiri::HTML.fragment(content) - [:html, :css, :sass].each do |format| + [:html, :css, :sass, :scss].each do |format| doc.css("pre.source-code.#{format}, code.#{format}").each do |el| new_element = Nokogiri.make(highlight(el.inner_text, format)) new_element.set_attribute("class", new_element.attribute("class").value+" "+el.attribute("class").value)