module Precious::HasMath

Public Instance Methods

katex() click to toggle source
# File lib/gollum/views/has_math.rb, line 7
def katex
  @math == :katex
end
math_config() click to toggle source
# File lib/gollum/views/has_math.rb, line 11
def math_config
  @math_config ? page_route(@math_config) : false
end
mathjax() click to toggle source
# File lib/gollum/views/has_math.rb, line 3
def mathjax
  @math == :mathjax
end