Skip to content

Commit 21ce366

Browse files
authored
Merge pull request #1311 from hail2u/patch-1
Add missing parameters for renderer methods
2 parents ac45c22 + 007756e commit 21ce366

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/USING_PRO.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ console.log(myMarked('# heading+', { renderer: renderer }));
5151

5252
### Block level renderer methods
5353

54-
- code(*string* code, *string* language)
54+
- code(*string* code, *string* language, *boolean* escaped)
5555
- blockquote(*string* quote)
5656
- html(*string* html)
57-
- heading(*string* text, *number* level)
57+
- heading(*string* text, *number* level, *string* rawtext)
5858
- hr()
59-
- list(*string* body, *boolean* ordered)
60-
- listitem(*string* text)
59+
- list(*string* body, *boolean* ordered, *number* start)
60+
- listitem(*string* text)
6161
- paragraph(*string* text)
6262
- table(*string* header, *string* body)
6363
- tablerow(*string* content)

0 commit comments

Comments
 (0)