-
-
Notifications
You must be signed in to change notification settings - Fork 16
Formatter
Noah Baldwin edited this page Nov 23, 2025
·
1 revision
OXVG can be used as a formatter for SVG documents.
The formatter is essentially an alias for oxvg optimise but with sensible options and default for the purpose of formatting.
View the optimiser documentation for more detailed usage information.
# Formatting a file with default options
cat my-file.svg | oxvg format > my-file-formatted.svg
# Is equivalent to the following
cat my-file.svg | oxvg optimise --extends none --pretty 4 --config ./empty-config.json > my-file-formatted.svg