Hacker News new | past | comments | ask | show | jobs | submit login

Why .md when you're inputting the command as plain text without any markdown?



Why not just have the flexibility of adding markdown whenever you feel like it (and not when you don't)? Now, you've got a file a markdown renderer can render whether or not you used markdown.


That applies to any file though.

The extension just suggests to some tools that they should treat the text as markdown.


Well, it's relying on you always inputting Markdown compliant input.

Something like:

  ls -lh ./*-2017-*.log
will not display correctly if rendered as markdown without any kind of escaping, and I can think of plenty of other examples.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: