mscherer 7 years ago
parent
commit
feec286856
1 changed files with 7 additions and 3 deletions
  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.
 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.