Hello @jordanjay29 , test for table support here https://discuss.flarum.org/d/4133-test-markdown-table-vs-html-table and it seems that Flarum not support table formatting.
Found resource from here http://arthurclemens.github.io/mithril-template-converter/index.html convert html source to mitril code. Can you please use these resource for table support in future update?
Thanks.
Here is random sample from html to mithril converter
HTML source
<!-- Table -->
<table cellpadding=6 rules=groups frame=box> <thead> <tr> <th> weekday </th> <th>date</th> <th>manager</th> <th>qty</th> </tr> </thead> <tbody> <tr> <td>mon</td> <td>09/11</td> <td>kelsey</td> <td>639</td> </tr> <tr> <td>tue</td> <td>09/12</td> <td>lindsey</td> <td>596</td> </tr> <tr> <td>wed</td> <td>09/13</td> <td>randy</td> <td>1135</td> </tr> <tr> <td>thu</td> <td>09/14</td> <td>susan</td> <td>1002</td> </tr> <tr> <td>fri</td> <td>09/15</td> <td>randy</td> <td>908</td> </tr> <tr> <td>sat</td> <td>09/16</td> <td>lindsey</td> <td>371</td> </tr> <tr> <td>sun</td> <td>09/17</td> <td>susan</td> <td>272</td> </tr> </tbody> <tfoot> <tr> <th align=left colspan=3>total</th> <th>4923</th> </tr> </tfoot> </table>
Mithril code
m("table[cellpadding='6'][frame='box'][rules='groups']",
[
m("thead",
m("tr",
[
m("th",
" weekday "
),
m("th",
"date"
),
m("th",
"manager"
),
m("th",
"qty"
)
]
)
),
m("tbody",
[
m("tr",
[
m("td",
"mon"
),
m("td",
"09/11"
),
m("td",
"kelsey"
),
m("td",
"639"
)
]
),
m("tr",
[
m("td",
"tue"
),
m("td",
"09/12"
),
m("td",
"lindsey"
),
m("td",
"596"
)
]
),
m("tr",
[
m("td",
"wed"
),
m("td",
"09/13"
),
m("td",
"randy"
),
m("td",
"1135"
)
]
),
m("tr",
[
m("td",
"thu"
),
m("td",
"09/14"
),
m("td",
"susan"
),
m("td",
"1002"
)
]
),
m("tr",
[
m("td",
"fri"
),
m("td",
"09/15"
),
m("td",
"randy"
),
m("td",
"908"
)
]
),
m("tr",
[
m("td",
"sat"
),
m("td",
"09/16"
),
m("td",
"lindsey"
),
m("td",
"371"
)
]
),
m("tr",
[
m("td",
"sun"
),
m("td",
"09/17"
),
m("td",
"susan"
),
m("td",
"272"
)
]
)
]
),
m("tfoot",
m("tr",
[
m("th[align='left'][colspan='3']",
"total"
),
m("th",
"4923"
)
]
)
)
]
)
Result