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.

Javascript console.log(object) vs. concatenating string

I'm running this in node.js: > x = { 'foo' : 'bar' } { foo: 'bar' } > console.log(x) { foo: 'bar' } undefined > …

javascript node.js string-concatenation pretty-print
How to pretty print variables

Is there something like Ruby's awesome_print in Go? For example in Ruby you could write: require 'ap' x = {a:1,…

go pretty-print
Pretty-print C++ STL containers

Please take note of the updates at the end of this post. Update: I have created a public project on …

c++ templates c++11 operator-overloading pretty-print
NumPy: Pretty print tabular data

I would like to print NumPy tabular array data, so that it looks nice. R and database consoles seem to …

python numpy pretty-print tabular
How to make XML strings bold, underlined etc?

http://docs.fusioncharts.com/charts/contents/Styles/Font.html I tried this, along with a lot of things but failed …

android xml markup pretty-print
Pretty print XML in java 8

I have an XML file stored as a DOM Document and I would like to pretty print it to the …

java xml dom pretty-print
Memory dump formatted like xxd from gdb

I'm trying to inspect a buffer which contains a binary formatted message, but also contains string data. As an example, …

python debugging gdb pretty-print
When using Spring MVC for REST, how do you enable Jackson to pretty-print rendered JSON?

While developing REST services using Spring MVC, I would like render JSON 'pretty printed' in development but normal (reduced whitespace) …

json spring-mvc jackson pretty-print
Is there a PowerShell code formatter / pretty printer?

I'm looking for a source code beautifyer for PowerShell programs. Ideally, it would be CLI based, but any solution is …

powershell pretty-print
Python pretty XML printer with lxml

After reading from an existing file with 'ugly' XML and doing some modifications, pretty printing doesn't work. I've tried etree.…

python lxml pretty-print