Zenuncl / pagedown

Automatically exported from code.google.com/p/pagedown
Other
0 stars 0 forks source link

HTML5 output mode #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 wich...@wiggy.net on 1 Feb 2013 at 3:06

Attachments:

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

Original comment by wich...@wiggy.net on 1 Feb 2013 at 3:08