iona v1.0.0-alpha.3 Iona.Template.Helper View Source

Provides basic template helper functions.

The most important function is escape, which is automatically applied to any value in a <%= %> concat tag.

Link to this section Summary

Functions

Escape raw LaTeX commands and reserved characters, to include

Mark text as a string to be inserted raw and unescaped

Link to this section Functions

Escape raw LaTeX commands and reserved characters, to include:

  • Angle brackets and curly braces
  • Backslashes
  • Carets
  • Tildes
  • Pipes
  • More! (See the @replace module attribute)

Mark text as a string to be inserted raw and unescaped