Skip to content

Commit

Permalink
Added an example of how to configure the indent of pretty formatted s…
Browse files Browse the repository at this point in the history
…vgs in the sample .svgo.yml
  • Loading branch information
yandavid committed Dec 30, 2015
1 parent 9abb467 commit 1771cc1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .svgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,11 @@ plugins:
- removeAttrs
- addClassesToSVGElement
- removeStyleElement

# configure the indent (default 4 spaces) used by `--pretty` here:
#
# @see https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6 for more config options
#
# js2svg:
# pretty: true
# indent: ' '

0 comments on commit 1771cc1

Please sign in to comment.