You can use fenced code blocks with the language specified after the first set of backtick fences.

Estimated reading time: minutes

Code Samples

Use fenced code blocks with the language specified, like this:

```js
console.log('hello');
````

Result:

console.log('hello');

For the list of supported languages you can use (similar to js for JavaScript), see Supported languages.

Tags: formatting
Edit me