Re:RFC 7764 – Guidance on Markdown
by marssaxman on Wednesday December 14, 2016 @08:49PM
(#13181662)
What is a "code fence"?
[ Parent
| on HN ]
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.
Re:RFC 7764 – Guidance on Markdown
by marssaxman on Friday December 16, 2016 @02:08AM
(#13191621)
Thanks. I've seen that but hadn't connected the name to the syntax.