Hacker News new | ask | show | jobs
by svenwltr 2772 days ago
Interesting, but https://www.commandlinefu.com/ is there for quite a long time. What are the benefits over it?
1 comments

Primarily, I wanted something with better syntax highlighting. Especially for tools that I feel are common/ popular but aren't part of Bash so they're not usually highlighted as they're not part of the language.

With this, I was trying to create a set of highlighting rules that would make arguments more obvious to read. For example:

https://snippets.shodan.io/c/KicwlhJFezcAAhWe

I wrote the website because I wanted to have that sort of syntax highlighting for the commands I share in our docs to make it easier to read/ understand. Btw the description field supports Markdown so you can also explain the commands in further detail, see:

https://snippets.shodan.io/c/GhFfOh2r0mOSLrcJ

And the commands can be embedded as images by appending ".png" to the end of the URL:

https://snippets.shodan.io/c/GhFfOh2r0mOSLrcJ.png