3 ms·
HN doesn't support markdown unfortunately. As such your code block's formatting is all messed up there. Not your fault of course. Just thought you'd wanna know
by throwaway314155 2y ago
HN doesn't support markdown unfortunately. As such your code block's formatting is all messed up there.
Not your fault of course. Just thought you'd wanna know.
P.S. - HN staff please add markdown support. I'm sure this gets mentioned 10 times a day, so this is mention 11.
- remram 2y agoAll you need to do is put 2 spaces before your code. I'm sure OP could have managed. Like this https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc
- throwaway314155 2y agoI'm aware. Markdown is more popular and (in my opinion) easier to use. Tapping two spaces before each line of my code is a lot more effort than typing 3 backticks before and after the whole snippet. You're asking me to track indentation, on a potentially already indentation-based language (I mostly paste Python), without the help of an IDE. No thanks. Sure, they could have figured it out. But it's annoying.
- buibuibui 2y agoAh, I didn't knew about that. I assumed HN also used Markdown.