Please please please can you turn off whatever damn thing is stripping all the code out of posts on here and comments on mt.org.
I believe it's using "Markdown" but even following their instructions it's hit or miss whether it works. Can we either have a plain text box or even BBCode would be better!? Heck, even being able to edit posts would aid in getting it all right.
It's quite difficult to help someone out when you can't give them code samples.

Hi Richard
I saw your comment and corrected it. The problem wasn't really Markdown but the fact that you need to encode it before posting it (otherwise a browser will see the open/close angled braces and try to parse it as normal HTML)
Well i've never had a problem on any of the other myriad forums I've used, nor have I on any text box I've used in my own applications. I even put the requisite 4 spaces before each line as markdown requires.
Too many things about MTCS don't function as you would expect and posting is one of the biggest ones. It's easy to take out HTML that would execute and display properly whilst still making it easy for users to post.
Well, every forum I've ever participated in has required you to wrap code within a [code] [/code] block which (if you were to view source) automatically converts the HTML into HTML entities. The 4 spaces indentation simply wraps the code with pre tags, you still need to encode the opening and closing angled brackets.
This isn't a problem with Movable Type.
Sorry Arvind, but it is. The Markdown instructions the forums link to say nothing about wrapping in code tags, all it says you need to do is indent by 4 spaces or a tab. Being as this is a plain text box, you can't indent with a tab so I did 4 spaces and it didn't generate the code block. Also those instructions say you don't need to process your code as you suggested.
If you're happy with the way the forums process their input then fine, but some instructions that actually match the behaviour are required.
P.S. Find whatever the Perl equivalent of this is: http://www.devguru.com/technologies/asp/9169.asp
I love Markdown, and use it to format text documents I'm writing... so I'm a little biased.
It's worked for every example that I've used on these forums. Of course if you use it improperly then your post or comment will look a little jacked up.
There is no need to encode your code tags as Markdown wraps code blocks in <pre> and <code> tags.
^^see the two inline tags? =)
Here's a line of code that contains simple html tags which are not encoded:
I love Markdown, and use it to format text documents I'm writing... so I'm a little biased.
It's worked for every example that I've used on these forums. Of course if you use it improperly then your post or comment will look a little jacked up.
There is no need to encode your code tags as Markdown wraps code blocks in <pre> and <code> tags.
^^see the two inline tags? =)
Here's a line of code that contains simple html tags which are not encoded:
Here's a few Markdown tools:
Of course you can always use the preview button too :)
Here's a few Markdown tools:
Of course you can always use the preview button too :)
One big problem is that when you start a topic (as opposed to replying to one) there are no instructions about how to format a post -- you have no idea you're supposed to use Markdown.
There is also no option to 'Preview' your post when you start a topic, only when you reply. So you don't see that you've screwed up, because you didn't realise you were supposed to use Markdown, until you've posted.