Kaynağa Gözat

:memo: 术语替换

visuddhinanda 3 yıl önce
ebeveyn
işleme
99bd0006ef
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5 1
      public/documents/模版设计.md

+ 5 - 1
public/documents/模版设计.md

@@ -23,6 +23,10 @@ https://github.com/bobthecow/mustache.php/wiki#helpers
 
 用户输入的markdown 文本。
 用正则替换
+```
+[[citta]]->{{term|citta}}
+```
+
 ```
 搜索
 \{\{(.+?)\}\}
@@ -85,4 +89,4 @@ $m->render($tpl, array(
 {{q|sn.a. 2|3|2}}
 {{q|137|45}}
 
-{{article|122342234324}}
+{{article|122342234324}}