showdown/test/functional/makehtml/cases/standard/github-style-codeblock.md

35 lines
338 B
Markdown
Raw Normal View History

2012-06-14 13:05:31 +08:00
Define a function in javascript:
```
function MyFunc(a) {
var s = '`';
2012-06-14 13:05:31 +08:00
}
```
And some HTML
```html
<div>HTML!</div>
```
And some CSS with spaces before the language declaration
``` css
body {
font-size: 1.5em;
}
```
Use more than 3 backticks
`````
some code
`````
Use tilde as delimiter
~~~
another piece of code
~~~