Class String
In: lib/maruku/attributes.rb
lib/maruku/ext/math/latex_fix.rb
lib/maruku/input/type_detection.rb
lib/maruku/input_textile2/t2_parser.rb
lib/maruku/output/to_html.rb
lib/maruku/output/to_latex_strings.rb
lib/maruku/output/to_markdown.rb
lib/maruku/structures_inspect.rb
Parent: Object

Methods

Included Modules

MaRuKu::Strings

Constants

Textile2_EmptyLine = /^\s*$/
Textile2_Signature = /^(\S+\.?)\.\s(.*)/
LATEX_ADD_SLASH = [ ?{, ?}, ?$, ?&, ?#, ?_, ?%]   These are TeX‘s special characters
LATEX_TO_CHARCODE = [ ?^, ?~, ?>,?<]   These, we transform to {\tt \char<ascii code>}
OtherGoodies = { /(\s)LaTeX/ => '\1\\LaTeX\\xspace ', # XXX not if already \LaTeX # 'HTML' => '\\textsc{html}\\xspace ', # 'PDF' => '\\textsc{pdf}\\xspace ' }   other things that are good on the eyes

Public Instance methods

fix some LaTeX command-name clashes

" andrea censi " => [" andrea ", "censi "]

A string is rendered into HTML by creating a REXML::Text node. REXML takes care of all the encoding.

escapes special characters

XXX: markdown escaping

[Validate]