mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
doc: Update README.md
correct markdown grammar
This commit is contained in:
parent
e7294ddccf
commit
3109988d02
|
@ -106,7 +106,7 @@ Check our [wiki pages][wiki] for examples and a more in-depth documentation.
|
||||||
```js
|
```js
|
||||||
var showdown = require('showdown'),
|
var showdown = require('showdown'),
|
||||||
converter = new showdown.Converter(),
|
converter = new showdown.Converter(),
|
||||||
text = '#hello, markdown!',
|
text = '# hello, markdown!',
|
||||||
html = converter.makeHtml(text);
|
html = converter.makeHtml(text);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ var showdown = require('showdown'),
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var converter = new showdown.Converter(),
|
var converter = new showdown.Converter(),
|
||||||
text = '#hello, markdown!',
|
text = '# hello, markdown!',
|
||||||
html = converter.makeHtml(text);
|
html = converter.makeHtml(text);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -328,7 +328,7 @@ var defaultOptions = showdown.getDefaultOptions();
|
||||||
needing 2 spaces at the end of the line **(since v1.5.1)**
|
needing 2 spaces at the end of the line **(since v1.5.1)**
|
||||||
|
|
||||||
```md
|
```md
|
||||||
a line
|
a line
|
||||||
wrapped in two
|
wrapped in two
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user