support custom indentation (#5318)

closes #50
This commit is contained in:
Alex Lam S.L
2022-01-28 00:38:11 +00:00
committed by GitHub
parent 3693bde2dd
commit e4a91a89e0
4 changed files with 118 additions and 16 deletions

View File

@@ -917,9 +917,11 @@ can pass additional arguments that control the code output:
- `galio` (default: `false`) — enable workarounds for ANT Galio bugs
- `indent_level` (default: `4`)
- `indent_level` (default: `4`) — indent by specified number of spaces or the
exact whitespace sequence supplied, e.g. `"\t"`.
- `indent_start` (default: `0`) — prefix all lines by that many spaces
- `indent_start` (default: `0`) — prefix all lines by whitespace sequence
specified in the same format as `indent_level`.
- `inline_script` (default: `true`) — escape HTML comments and the slash in
occurrences of `</script>` in strings