showdown/test/cases/github-style-codeblock.md
Lee Moody 24bf7b132d fix(gfm-codeblock): add support for spaces before language declaration
One or more spaces before the language declaration of a code block is supported by Github.

E.g.

```    html
<div>HTML!</div>
```

``` html
<div>HTML!</div>
```

```html
<div>HTML!</div>
```

Closes #569
2018-10-16 23:00:36 +01:00

338 B

Define a function in javascript:

function MyFunc(a) {
    var s = '`';
}

And some HTML

<div>HTML!</div>

And some CSS with spaces before the language declaration

body {
    font-size: 1.5em;
}

Use more than 3 backticks

some code

Use tilde as delimiter

another piece of code