Skip to content

Commit f77f469

Browse files
committed
docs: describe posthtml options and root param, close #310
1 parent 5ec996f commit f77f469

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

readme.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,13 @@ $ posthtml --help
4747

4848
```json
4949
{
50-
"input": "src/*.html",
50+
"root": "src",
51+
"input": "*.html",
5152
"output": "dist",
53+
"options": {
54+
"sync": true,
55+
"directives": [{"name": "?php", "start": "<", "end": ">"}]
56+
},
5257
"plugins": {
5358
"posthtml-plugin-name": {
5459
"property": "value"

0 commit comments

Comments
 (0)