From 89a3dcee07b4e35ab4e6f4ec668110d25b86412b Mon Sep 17 00:00:00 2001 From: Julien Bisconti Date: Mon, 13 Apr 2020 18:12:42 +0200 Subject: [PATCH] Replace showdown options --- build.js | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/build.js b/build.js index 9564e99..6b123a3 100644 --- a/build.js +++ b/build.js @@ -26,26 +26,8 @@ const indexTemplate = `${WEBSITE_FOLDER}/index.tmpl.html`; const indexDestination = `${WEBSITE_FOLDER}/index.html`; async function processIndex() { - const converter = new showdown.Converter({ - omitExtraWLInCodeBlocks: true, - simplifiedAutoLink: true, - excludeTrailingPunctuationFromURLs: true, - literalMidWordUnderscores: true, - strikethrough: true, - tables: true, - tablesHeaderId: true, - ghCodeBlocks: true, - tasklists: true, - disableForced4SpacesIndentedSublists: true, - simpleLineBreaks: true, - requireSpaceBeforeHeadingText: true, - ghCompatibleHeaderId: true, - ghMentions: true, - backslashEscapesHTMLTags: true, - emoji: true, - splitAdjacentBlockquotes: true, - }); - // converter.setFlavor('github'); + const converter = new showdown.Converter(); + converter.setFlavor('github'); try { LOG.debug('Loading files...', { indexTemplate, README });