Skip to content

Commit

Permalink
Enable the Showdown option to support tables (#220)
Browse files Browse the repository at this point in the history
* Add support for table rendering
  • Loading branch information
phoeniixhawk authored Nov 20, 2024
1 parent 9711b81 commit 6118791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 6118791

Please sign in to comment.