Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Can someone tell me how this post was formatted?

I know how to do this in a text editor, but when i cant figure out how it is done on the StackOverflow question form. It works here if i format it as code, but not on StackOverflow.

|           Name Of Item          |  DropDownList (of List<T>)   |
|---------------------------------|  _____________________       |
|                foo1             |  |     bar1      | v |       |
|                                 |  |_______________|___|       |
|                                 |  DropDownList (of List<T>)   |
|                                 |  _____________________       |
|                foo2             |  |     bar2      | v |       |
|                                 |  |_______________|___|       |

Interesting presentation to explain your point.

share|improve this question
Looks like you didn't have any trouble replicating. – random Aug 18 '09 at 6:19
up vote 6 down vote accepted

The author of that question just put his "drawing" in <pre> tags. But code formatting (i.e. 4-space-indent) should work, too---on SO as well.

But since that would leave you with syntax-highlighted drawings, it might not be desirable anyway...

share|improve this answer

Ah, I'm suddenly reminded of the DOS (and before) days of looking for the right border glyphs for the single/double border lines... sadly they don't seem to translate to most common modern type faces, but them were the days ;-p

share|improve this answer
Yay! My first attempt at writing a drawing program was text mode and used those lines. Good ol' COMAL days... Thanks Marc, now you've got me thinking of better times for the rest of the day... – balpha Aug 19 '09 at 10:37

Quite possibly using an ascii art generator, such as asciio.

I downloaded it from the Fedora repositories, and when I create a diagram in it and then right click on the background, I can save the diagram to a text file. From there I just need to copy the text, and paste into a <pre> block.

share|improve this answer
The problem is how to get it to display on StackOverflow, not how to generate the text. – Slabo Aug 18 '09 at 5:52
That was not created with asciio, the corners are different. – Brad Gilbert Aug 18 '09 at 15:08

The question in the link that you posted has been edited at least once.

You can click the "Edited X hours ago" link. This will bring up an interface containing the revision history. Find the appropriate version and click the "view source" link. This way you can see exactly what the author typed when he asked the question.

This method is useful whenever you see some kind of of formatting that you'd wish to know how the author achieved.

If the post has not been edited, you can use this method to access the revision history.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .