Enable the Showdown option to support tables (#220)

* Add support for table rendering
This commit is contained in:
phoeniixhawk 2024-11-19 22:42:26 -08:00 committed by GitHub
parent 9711b8142f
commit 611879133a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ function getText(textOrFile, convertMarkdown) {
// Convert Markdown to HTML // Convert Markdown to HTML
if (convertMarkdown) { if (convertMarkdown) {
const converter = new showdown.Converter() const converter = new showdown.Converter({tables: true})
text = converter.makeHtml(text) text = converter.makeHtml(text)
} }