3 ms·
Wow this is a very good idea. FYI if you indent the whole thing with 4 spaces (each line), then *** HN keeps the formatting ^-> see?
by skrebbel 9y ago
Wow this is a very good idea. FYI if you indent the whole thing with 4 spaces (each line), then
*** HN keeps the formatting
^-> see?
- majewsky 9y agoThe code-snippet syntax needs only 2 spaces, actually. But I like the original formatting better because lines wrap on narrow viewports (i.e. phones). It's frustratingly common that people post quotes with the code-snippet syntax and the lines are so long that stuff is nearly unreadable on mobile, unless you are masochistic and like reading in a scrolling viewport that only shows 40% of the line width at each time.