module Asciidoctor::SyntaxHighlighter::PygmentsAdapter::Styles
Constants
- BASE_SELECTOR
- BaseStyleRx
- DEFAULT_STYLE
- TOKEN_CLASS_PREFIX
Public Instance Methods
read_stylesheet(style)
click to toggle source
# File lib/asciidoctor/syntax_highlighter/pygments.rb, line 96 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
stylesheet_basename(style)
click to toggle source
# File lib/asciidoctor/syntax_highlighter/pygments.rb, line 100 def stylesheet_basename style %Q(pygments-#{style || DEFAULT_STYLE}.css) end