1 unstable release

0.1.0 Nov 28, 2022

#468 in Template engine

MPL-2.0 license

7KB
194 lines

Comment

  • surrounded by parentheses {# and #}
{% filter comment %}

comment block

{% end %}

Whitespace Control

Saha Supports LF only!

  • {%=: Destroy all whitespace on the left

  • {%-: Destroy all blank lines on the left

  • {%_: Destroy left whitespace, and the first newline encountered

  • {%!: destroy left whitespace, but exclude newlines

  • =%}: Destroy all whitespace on the right

  • -%}: Destroy all blank lines on the right

  • _%}: Destroy right whitespace, and the first newline encountered

  • !%}: destroy right whitespace, but exclude newlines

Dependencies

~99–510KB