Text::Amuse::InlineElement - Helper for Text::Amuse
Everything here is pretty much internal only, underdocumented and subject to change.
Constructor. Accepts the following named arguments (which are also accessors)
The element type
The raw string
The offset of the last character in the parsed string
The name of the tag
ltx or html
ltx
html
Append the provided string to the self's one and update the last_position.
Main method to get the desired output from the element.
HTML escape
Escape the string for LaTeX output
Shortcut to check if the format is latex
Shortcut to check if the format is html
Convert the close_inline open_inline symbols (= and *) into elements an open/close type and the tag properly set.
To install Text::Amuse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Amuse
CPAN shell
perl -MCPAN -e shell install Text::Amuse
For more information on module installation, please visit the detailed CPAN module installation guide.