SVGPP(1)

✨ SVGPP β€” like, the manual page but make it cute ✨

okay bestie, gather round, because this is svgpp, a pretty-printer for SVG files, and she is serving ✨ (the official manual name is SVGPP(1), under User Commands, and honestly? iconic.)


🌸 NAME 🌸

svgpp β€” pretty-printer for SVG files πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

svgpp
    [options] <input file> [<output file>]

like, you give her an input file, you may give her an output file, and you sprinkle options on top like glitter. that's the whole vibe. πŸŽ€


πŸ’– DESCRIPTION πŸ’–

svgpp pretty-prints SVG code to standard output. that's it, that's the girl. she takes your messy little SVG and makes it presentable. main character energy for your markup. 🌈


✨ OPTIONS ✨

  • -xml-decl <string> β€” the value you want to set for the XML declaration. give her a string, she'll put it in. 🫢
  • -system-id <string> β€” the value you want to set for the system ID of the doctype. πŸ’œ
  • -tab-width <number> β€” sets the tabulation width. the default is 4. so if you don't say anything, she's doing 4, no cap. ⭐
  • -doc-width <number> β€” sets the document's preferred number of columns. the default is 80. yes, she has opinions about line length, and honestly? valid. πŸ“
  • -no-format β€” disables any formatting. useful for doctype modifications, newline conversion, and, uh, ... (the manual literally trails off there, and honestly, relatable πŸ™ˆ). it does exactly what it says: no formatting, periodt.
  • -public-id <string> β€” the value you want to set for the public ID of the doctype. 🌸
  • -newline (cr | cr-lf | lf) β€” specifies the type of newline to output. possible values are: cr (mac), cr-lf (dos), lf (unix β€” and this one is the default). pick your line-ending girlie wisely. 🧚
  • -doctype (change | remove) β€” removes or changes the DOCTYPE declaration. change is used in conjunction with the -public-id and -system-id options. so like, change doesn't fly solo, she needs her friends. πŸ‘‘
ngl, the -doctype values only go two ways here: change or remove. there is no third option. don't go looking for one. πŸ’€

β˜• JAVA-WRAPPERS NOTE β˜•

this program is a shell script wrapper based on java-wrappers(7). so you, lucky you, benefit from several features β€” please see the java-wrappers(7) manual page for more information about them. she's standing on the shoulders of a whole other manual page, and she knows it. 🫢


πŸ‘‘ AUTHORS πŸ‘‘

svgpp is part of batik, written by the Apache Software Foundation.

this manual page was written by Vincent Fourmond <fourmond@debian.org> for the Debian Project, but may be used by others. shoutout to Vincent, fr fr. πŸ’–


🌈 SEE ALSO 🌈


and that's the whole page, bestie!! πŸŽ€ the footer of the original says this is a pretty printer for SVG, dated January 2008, from SVGPP(1) β€” so yeah, she's been slaying since 2008 and the source/version line is still out here doing its thing. mwah. πŸ’…βœ¨