pmd/docs/pages/mydoc/mydoc_code_samples.md
Andreas Dangel b193bb28d8 Add 'docs/' from commit '106142b25c9387ffd002437027ced1b04f494205'
git-subtree-dir: docs
git-subtree-mainline: 23545aa7ea599faf17737de9879733a1bde700d1
git-subtree-split: 106142b25c9387ffd002437027ced1b04f494205
2017-05-25 10:01:42 +02:00

675 B

title tags keywords last_updated datatable summary sidebar permalink folder
Code samples
formatting
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

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.