Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Ajedi32
on Dec 15, 2016
|
parent
|
context
|
favorite
| on:
RFC 7764 – Guidance on Markdown
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.
marssaxman
on Dec 16, 2016
[–]
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:
Example:
```javascript
// JavaScript code here
```
It's used extensively on GitHub.