mscherer 7 年之前
父节点
当前提交
feec286856
共有 1 个文件被更改,包括 7 次插入3 次删除
  1. 7 3
      docs/Helper/Typography.md

+ 7 - 3
docs/Helper/Typography.md

@@ -18,10 +18,14 @@ $this->addHelper('Tools.Typography', [
 ]);
 ]);
 ```
 ```
 
 
+Then you can use it in your templates as
+```php
+echo $this->Typography->autoTypography($myText);
+```
+
+### Configuration
+
 It uses Configure key `'App.language'` by default to detect the output format.
 It uses Configure key `'App.language'` by default to detect the output format.
 So if you contain `Configure::write('App.language', 'deu');` in your bootstrap, it will use German ``
 So if you contain `Configure::write('App.language', 'deu');` in your bootstrap, it will use German ``
 
 
-### Configuration
 
 
-With `mergeQuotes` option you can define if both `"` and `'` should be merged into one of them.
-Defaults to `false` as they might be used nested for default input.