靜態代碼

邊框


HTML 逸出

// 示範如何在隨附的來源檔案中使用 htmlEscape。 // 這裡有 HTML 字元 <、> 和 &。 public class Foo { private Map 字典; public void addItem(String key, String value) { if (key != null && !key.equals](quoquo;")) { 字典.add(key, value); } }

字元集

  • 文章:a
  • 主旨:字典
  • A

集合變數

  • Google ABCD Alpha 版
  • Google ABCD Beta 版
  • Google ABCD Gamma

空間不足

This whitespace should be unchanged
      also no changes
      to lines like this
    

一字不差

    {% if foo == "bar" %}
      This is foo.
    {% else %}
      This is baz.
    {% endif %}

    {% setvar name "world" %}
    Hello {{ name }}!