Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's an alternate way of annotating code blocks which doesn't require you to indent every line (because that can be tedious for longer code snippets), and allows you to explicitly specify the language to use for syntax highlighting.

Example:

```javascript

// JavaScript code here

```

It's used extensively on GitHub.



Thanks. I've seen that but hadn't connected the name to the syntax.




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

Search: