answered
2015-06-14 23:06:44 +0300
simo 29079 ●345 ●466 ●481
Tables
Unfortunately Askbot has only basic Markdown elements of GCP with years old version. The method you used above in your question exists, but it's not updated to the Askbot, so there's currently no support for tables.
Workaround: You need to adjust the column widths manually, or use some simple tablegenerator and copypaste here. One example of such table, additionally using pre
(no inline needed this way)
+-----------+------------+
| City name | Population |
+-----------+------------+
| Adelaide | 1158259 |
| Brisbane | 1857594 |
| Darwin | 120900 |
| Hobart | 205556 |
| Sydney | 4336374 |
| Melbourne | 3806092 |
| Perth | 1554769 |
+-----------+------------+
Top1 | Top2 |
row1 column1 | row1 column2 |
row2 column1 | row2 column2 |
Currently the table extension is not enabled in the markdown library used, but I'll see if enabling that works ok.
One problem might be that Askbot uses a python library for rendering the markdown in post and a javascript library for rendering the post preview. And I think that the javascript library does not support tables.
Keto ( 2015-06-14 21:35:43 +0300 )edit