module Asciidoctor::SyntaxHighlighter::RougeAdapter::Styles

Constants

DEFAULT_STYLE

Public Instance Methods

read_stylesheet(style) click to toggle source
# File lib/asciidoctor/syntax_highlighter/rouge.rb, line 99
def read_stylesheet style
  library_available? ? @@stylesheet_cache[style || DEFAULT_STYLE] : '/* Rouge CSS disabled because Rouge is not available. */'
end
stylesheet_basename(style) click to toggle source
# File lib/asciidoctor/syntax_highlighter/rouge.rb, line 103
def stylesheet_basename style
  %(rouge-#{style || DEFAULT_STYLE}.css)
end