Sha256: 941c9c9874783a6e20489977a801c33dc2e3a18cac5bab91c22d4ed09720c48d
Contents?: true
Size: 427 Bytes
Versions: 16
Compression:
Stored size: 427 Bytes
Contents
module MaRuKu; module Out; module HTML def convert_to_mathml_none(kind, tex) # You can: either return a REXML::Element # return Element.new 'div' # or return an empty array on error # return [] # or have a string parsed by REXML: tex = tex.gsub('&','&') mathml = "<code>#{tex}</code>" return Document.new(mathml).root end def convert_to_png_none(kind, tex) return nil end end end end
Version data entries
16 entries across 16 versions & 5 rubygems