title | tags | keywords | last_updated | datatable | summary | sidebar | permalink | folder | |
---|---|---|---|---|---|---|---|---|---|
Code samples |
|
dcode samples syntax highlighting |
July 3, 2016 |
true |
You can use fenced code blocks with the language specified after the first set of backtick fences. |
mydoc_sidebar |
mydoc_code_samples.html |
mydoc |
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.