From 007756e7e735309f131423d0beb00d13af467618 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 29 Jul 2018 00:20:04 +0900 Subject: [PATCH] Add missing parameters for renderer methods MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some renderer methods have more parameters than documented. Let’s update them. --- docs/USING_PRO.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/USING_PRO.md b/docs/USING_PRO.md index e14658ad43..e3ab6935f4 100644 --- a/docs/USING_PRO.md +++ b/docs/USING_PRO.md @@ -51,13 +51,13 @@ console.log(myMarked('# heading+', { renderer: renderer })); ### Block level renderer methods -- code(*string* code, *string* language) +- code(*string* code, *string* language, *boolean* escaped) - blockquote(*string* quote) - html(*string* html) -- heading(*string* text, *number* level) +- heading(*string* text, *number* level, *string* rawtext) - hr() -- list(*string* body, *boolean* ordered) -- listitem(*string* text) +- list(*string* body, *boolean* ordered, *number* start) +- listitem(*string* text) - paragraph(*string* text) - table(*string* header, *string* body) - tablerow(*string* content)