Top "Pretty-print" questions

Prettyprint (or pretty-print) is the application of any of various stylistic formatting conventions to text, source code, markup, and other similar kinds of content.

How to print from GitHub

If I want to print a markdown file from GitHub as it appears on screen, for example: https://github.com/…

github markdown pretty-print
Formatting Ruby's prettyprint

Is it possible to change the width that prettyprint (require 'pp') uses when formatting output? For example: "mooth"=>["booth", "…

ruby pretty-print
Any way to properly pretty-print ordered dictionaries?

I like the pprint module in Python. I use it a lot for testing and debugging. I frequently use the …

python python-2.7 pretty-print ordereddictionary pprint
A way to pretty print a C# object

I have a text box and I want to display a C# object in it in a human-readable way, just …

c# pretty-print
A command-line HTML pretty-printer: Making messy HTML readable

I'm looking for recommendations for HTML pretty printers which fulfill the following requirements: Takes HTML as input, and then output …

html pretty-print tidy
How can I get Express to output nicely formatted HTML?

When using Express for Node.js, I noticed that it outputs the HTML code without any newline characters or tabs. …

node.js express pug pretty-print
How to Print "Pretty" String Output in Python

I have a list of dicts with the fields classid, dept, coursenum, area, and title from a sql query. I …

python string terminal pretty-print
How to see a large JSON file pretty printed on Ubuntu?

I would like to hear your suggestions on how to handle a large (40MB) JSON file on Ubuntu. I would …

json ubuntu syntax-highlighting pretty-print
How do I print out a tree structure?

I'm trying to improve performance in our app. I've got performance information in the form of a tree of calls, …

c# .net tree pretty-print