From 92b4790bd05354974de43087382b710674f8c571 Mon Sep 17 00:00:00 2001 From: Lee Hanken Date: Tue, 3 May 2022 12:15:56 +0100 Subject: [PATCH] include period after number in ordered lists when parsing apple dev docs --- url_to_markdown_apple_dev_docs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url_to_markdown_apple_dev_docs.js b/url_to_markdown_apple_dev_docs.js index 0467d3a..58a5f00 100755 --- a/url_to_markdown_apple_dev_docs.js +++ b/url_to_markdown_apple_dev_docs.js @@ -160,7 +160,7 @@ module.exports = { n=0; content.items.forEach((list_item, i) => { n = n + 1; - text += n + " " + this.process_content_section(list_item, ignore_links); + text += n + ". " + this.process_content_section(list_item, ignore_links); }); } } else if (content.type == 'heading') {