pagedown icon indicating copy to clipboard operation
pagedown copied to clipboard

HTML5 output mode

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

In patterns (see http://patternslib.com ) we use pagedown to render markdown 
and insert it into an existing page. In order to get header levels correct we 
want to use the preferred HTML 5 approach: instead of creating h1-h6 elements 
we use nested sections, each of which has a h1. 

In order to do this I modified pagedown to take a new rendering mode parameter 
which is used to tweak the header conversion.

Original issue reported on code.google.com by [email protected] on 1 Feb 2013 at 3:06

Attachments:

GoogleCodeExporter avatar Sep 12 '15 05:09 GoogleCodeExporter

For reference the changes can also be found in our fork on github: 
https://github.com/Patternslib/pagedown/commits/html5-output

Original comment by [email protected] on 1 Feb 2013 at 3:08

GoogleCodeExporter avatar Sep 12 '15 05:09 GoogleCodeExporter