From a security perspective, I prefer a widespread commonly used XML parser over your custom parser for markdown extensions.