Inline code

Code can be rendered inline by wrapping it in single back ticks.

Lorem ipsum dolor sit amet, <inline code snippet> adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Heading with <inline code snippet> in it.

1
Lorem ipsum dolor sit amet, `<inline code snippet>` adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
2
3
## Heading with `<inline code snippet>` in it.

Syntax highlighted code blocks

Use Prism’s syntax highlighting for code blocks by using three backticks, followed by the language name, then the block of code, followed by three more backticks:

```js

1
// Javascript code with syntax highlighting.
2
var fun = function lang(l) {
3
dateformat.i18n = require('./lang/' + l)
4
return true;
5
}