class Asciidoctor::Document
Public Class Methods
supports_syntax_highlighter?()
click to toggle source
# File lib/asciidoctor-epub3/ext/asciidoctor/document.rb, line 5 def supports_syntax_highlighter? if @supports_syntax_highlighter.nil? # Asciidoctor only got pluggable syntax highlighters since 2.0: # https://github.com/asciidoctor/asciidoctor/commit/23ddbaed6818025cbe74365fec7e8101f34eadca @supports_syntax_highlighter = method_defined? :syntax_highlighter end @supports_syntax_highlighter end
Public Instance Methods
syntax_highlighter()
click to toggle source
# File lib/asciidoctor-epub3/ext/asciidoctor/document.rb, line 16 def syntax_highlighter nil end