/XMarkDown

XMarkDown is an extensible PHP markdown parser that parses markdown into a usable DomDocument

Primary LanguagePHP

XMarkDown

XMarkDown was originally concieved as a way of demonstrating the use of OOP for a task that is often touted as the realm of procedural code: parsing a linear document. What could be more procedural than that?

This is an example of how OOP can be used to solve even the most seemingly "procedural" of problems.

This is currently a work in progress but is most of the way towards becomming a full markdown parser.

Project Goals

  1. Parse MarkDown into a DomDocument object rather than focussing on string manipulation

  2. Don't rely on regular expressions