Class: RitexFilter
- Inherits:
-
Codex::Filter
- Object
- Codex::Filter
- RitexFilter
- Defined in:
- lib/codex/filters/ritex_filter.rb
Instance Attribute Summary
Attributes inherited from Codex::Filter
Instance Method Summary collapse
-
#filter_inline(text, args) ⇒ Object
parse everythingenclosed in :inlinewebtex ..
-
#filter_single(text, args) ⇒ Object
Expect something like :webtex alphabetagamma.
Methods inherited from Codex::Filter
Instance Method Details
#filter_inline(text, args) ⇒ Object
parse everythingenclosed in :inlinewebtex .. :end
13 14 15 |
# File 'lib/codex/filters/ritex_filter.rb', line 13 def filter_inline(text,args) Ritex::Parser.new.parse(text) end |
#filter_single(text, args) ⇒ Object
Expect something like :webtex alphabetagamma
8 9 10 |
# File 'lib/codex/filters/ritex_filter.rb', line 8 def filter_single(text,args) Ritex::Parser.new.parse(args) end |