Skip to content
EntityQ383704· pop 6· linked from 44 articles

pretty-printing

Sign in to save

Also known as prettyprinting, prettyprint, pretty-print

Pretty-printing (or prettyprinting) is the application of any of various stylistic formatting conventions to text files, such as source code, markup, and similar kinds of content. These formatting conventions may entail adhering to an indentation style, using different color and typeface to highlight syntactic elements of source code, or adjusting size, to make the content easier for people to read, and understand. Pretty-printers for source code are sometimes called code formatters or beautifiers.

Wikidata facts

Instance of
text editor
Sources (1)

via Wikidata · CC0

~8 min read

Encyclopedic overview

10 sections
Contents
  • Pretty-printing mathematics
  • Pretty-printing markup and tag-based code
  • Formatting of program source code
  • HTML
  • Lisp pretty-printer
  • Project style rules
  • Example of formatting and beautifying code
  • See also
  • References
  • External links

Pretty-printing (or prettyprinting) is the application of any of various stylistic formatting conventions to text files, such as source code, markup, and similar kinds of content. These formatting conventions may entail adhering to an indentation style, using different color and typeface to highlight syntactic elements of source code, or adjusting size, to make the content easier for people to read, and understand. Pretty-printers for source code are sometimes called code formatters or beautifiers.

==Pretty-printing mathematics==

Excerpted from Wikipedia’s “pretty-printing” article, available under the CC BY-SA 4.0 licence.

Available in 6 languages

via Wikidata sitelinks · CC0