Closed rpringadi closed 2 years ago
It looks like the "tables" option for showdown.js is disabled by default.
You should be able to set it to "true" right in your component/template or you can configure it globally for your app.
Edit: more info form the WIKI: https://github.com/showdownjs/showdown/wiki/Showdown's-Markdown-syntax#tables
Thanks for the tip! I managed to display the table.
<MarkdownToHtml @tables={{true}} @tablesHeaderId={{true}} @markdown={{this.model.myMarkdownSource}} />
I managed to get ember-cli-showdown (version 4.5.0) to show various layout (H1, H2, h3, bullets, links, etc.) But I cannot get it to display a table.
Input:
Output: