> Text after a blank line that is indented by two or more spaces is formatted as code.
https://news.ycombinator.com/formatdoc
crimes ↑
│
10.0 ┤ ● Airport burger
│ ╭──────────────╮
8.0 ┤ │ theft arc │
│ ╰──────────────╯
6.0 ┤ ● Five Guys
│
4.0 ┤ ● Food truck burger
│
2.0 ┤ ● McBurger
│
0.0 ┤ ● Homemade burger
│
└───────┬─────────┬─────────┬─────────┬─────────→ price
$2 $8 $14 $22 $38
┌────────────────────┬────────┬──────────────┬────────────────────┐
│ burger │ price │ crime index │ expected behavior │
├────────────────────┼────────┼──────────────┼────────────────────┤
│ Homemade burger │ $2 │ 0.0 │ law-abiding citizen│
│ McBurger │ $6 │ 1.4 │ steals extra napkin│
│ Food truck burger │ $11 │ 3.1 │ lies about hunger │
│ Five Guys │ $18 │ 6.2 │ financial crime │
│ Airport burger │ $34 │ 9.7 │ enters villain arc │
└────────────────────┴────────┴──────────────┴────────────────────┘
conclusion: burger inflation is a gateway condiment
Thanks, so in this case the value of "code fomatting" is using a fixed-width font ?
The next question is where did the "ASCII-art" graph and table come from? Are there sites to generate these?