module Asciidoctor::SyntaxHighlighter::PygmentsAdapter::Styles
Constants
- DEFAULT_STYLE
Public Instance Methods
Source
# File lib/asciidoctor/syntax_highlighter/pygments.rb, line 97 def read_stylesheet style library_available? ? @@stylesheet_cache[style || DEFAULT_STYLE] || '/* Failed to load Pygments CSS. */' : '/* Pygments CSS disabled because Pygments is not available. */' end
Source
# File lib/asciidoctor/syntax_highlighter/pygments.rb, line 101 def stylesheet_basename style %(pygments-#{style || DEFAULT_STYLE}.css) end