Code52/DownmarkerWPF — Issue #123: Incorrect document parsing when using Setext syntax for H2
Author: dredix
Created: 2012-02-17 12:45:23+00:00
State: open

Jekyll syntax uses a triple dash (---) as header delimiters. However, the same sequence is also valid markdown, specifically translated as a H2 header on [Setext](http://docutils.sourceforge.net/mirror/setext.html) syntax. The current version of DownmarkerWPF splits the document using the string "---" regardless of whether this is an actual Jekyll header or just a markdown subtitle. Therefore the following sample document is rendered incorrectly.

H2 Title
---
Some paragraph.