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

Is there a php version of the markup used for the stackexchange, more info on the mark up at Stackoverflow's Markup.

share|improve this question
up vote 5 down vote accepted

The most obvious is PHP Markdown.

That said, this is based on the original Markdown project by John Gruber, so won't necessarily contain the various improvements made by the SO team.

Whilst not directly relevant, there are some good blog posts and podcasts regarding the history and specific implementation of markdown on SO:

(Remembers how much he enjoyed the podcasts. Becomes momentarily maudlin. Etc.) ;-)

share|improve this answer
Do you know any lighter versions, maybe with less featues? this should be as simple as a single preg_replace don't you think? Though it may contain a large array. – JamesM Jan 19 '11 at 22:28
@middaparka Can you please remove your answer i wish to remove this question, Thanks – JamesM Jan 19 '11 at 22:31
@JamesM Why? (If it's deemed off-topic, etc. it'll be removed real-soon-now.) – middaparka Jan 19 '11 at 22:34
As an aside: I think many, if not all, of the Stack Exchange improvements are kind of backward compatible. Like the spoiler syntax renders fine (kind of) in other renderers. – Arjan Jan 19 '11 at 22:39
@JamesM Incidentally, it's vastly more complex than "a single preg_replace". :-) – middaparka Jan 19 '11 at 22:41
(@James, I hope it's not your habit to remove questions once they have been answered. That is not only annoying, but also kills communities like this. See also Does systematic self-deleting need to be prevented?) – Arjan Jan 19 '11 at 22:41
@middaparka : I want this question as I want to remove this question and then make another question with the real question that I intended for, just did not know how to word it, in other words i want to start fresh for this question. – JamesM Jan 20 '11 at 2:19
@JamesM Just open a new question - this isn't the way MSO works. (Did you read the link @Arjan posted?) – middaparka Jan 20 '11 at 8:42

You must log in to answer this question.

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