Module: Precious::HasMath
- Included in:
- Views::Create, Views::Edit, Views::Page
- Defined in:
- lib/gollum/views/has_math.rb
Instance Method Summary collapse
Instance Method Details
#katex ⇒ Object
7 8 9 |
# File 'lib/gollum/views/has_math.rb', line 7 def katex @math == :katex end |
#math_config ⇒ Object
11 12 13 |
# File 'lib/gollum/views/has_math.rb', line 11 def math_config @math_config ? page_route(@math_config) : false end |
#mathjax ⇒ Object
3 4 5 |
# File 'lib/gollum/views/has_math.rb', line 3 def mathjax @math == :mathjax end |