Skip to content

Commit 6118791

Browse files
authored
Enable the Showdown option to support tables (#220)
* Add support for table rendering
1 parent 9711b81 commit 6118791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function getText(textOrFile, convertMarkdown) {
1616

1717
// Convert Markdown to HTML
1818
if (convertMarkdown) {
19-
const converter = new showdown.Converter()
19+
const converter = new showdown.Converter({tables: true})
2020
text = converter.makeHtml(text)
2121
}
2222

0 commit comments

Comments
 (0)