How create a table
-
How create a table like this post? and how center etc?
How to expand markdown?
Kind of defeats the point of markdown. It's the opposite of markup. Markdown is probably quite primitive if you're used to plain HTML or even BBCode(shudder)...
NodeBB Community (community.nodebb.org)
-
| Tables | Are | Cool | | ------------- |:-------------:| -----:| | col 3 is | right-aligned | $1600 | | col 2 is | centered | $12 | | zebra stripes | are neat | $1 |
Maybe this site would be useful http://www.tablesgenerator.com/markdown_tables
-
@DavidPS the colons below the column header define alignment. Not sure what's going on with center alignment in @psychobunny example
Left align is default.
for right align
---------:
for center align
:-------:
-
I don't know any way and it would surprise me if there was since it's an aim of Markdown to get rid of bad markup.
What does justify text to be centered? Mostly you do this for some kind of header-text, use#
,##
, etc. for this.
Maybe you want to use it as some kind of footer, use---
(hr
) for the separation.Centered text is just meant for esthetic reasons but the text doesn't really have a justification for this, so Markdown doesn't support such usage in order to keep a clean standard.
If it's images you want to be aligned centered I can understand your sense of esthetic. But you still need the admins help to allow this (e.g. using this hack).