Markdown - only italic/bold/url


I would like use Markdown, but users should use only bold, italic and url. How to make it?

It’s not really markdown by that point, so you might find it easier to implement your own simple parser.

The markdown class provides ways to disable HTML and alter the transformations that occur at the document, block and span level, but I can’t see a way to update those using Yii’s wrappers. I suppose you could create your own wrapper around the Markdown_Parser class and update the necessary properties after construction, but it might be more difficult to ensure you’ve caught everything than to just create your own parser to handle bold, italics and links.