From 611879133a9569642c41be66f4a323286e9b8a3b Mon Sep 17 00:00:00 2001 From: phoeniixhawk <1761932+phoeniixhawk@users.noreply.github.com> Date: Tue, 19 Nov 2024 22:42:26 -0800 Subject: [PATCH] Enable the Showdown option to support tables (#220) * Add support for table rendering --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index f9b56f5c..e26f07f7 100644 --- a/main.js +++ b/main.js @@ -16,7 +16,7 @@ function getText(textOrFile, convertMarkdown) { // Convert Markdown to HTML if (convertMarkdown) { - const converter = new showdown.Converter() + const converter = new showdown.Converter({tables: true}) text = converter.makeHtml(text) }