7

Possible Duplicate:
Is there any markdown to create tables?
How to format SQL tables in a Stack Overflow post?

I was wondering how users are able to create beatiful tables of how their sql tables look like. See one below:

Beautiful

It is so neat and pretty.

2
  • 4
    Is that from an SO question? If so, just click edit and see the formatting used... ;P Commented Apr 14, 2012 at 3:36
  • Geez why didn't I think of that? Sigh. Thanks! Commented Apr 14, 2012 at 3:40

1 Answer 1

7

It's all just judicious use of spaces.

There's a nice tool to help format ASCII tables at sensefulsolutions.com.

1
  • But, @Jack, please take mobile users into account. (And maybe even screen readers, but I guess that's hopeless with any ASCII-like output.) Commented Apr 14, 2012 at 10:13

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.