Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML5 output mode #51

Open
GoogleCodeExporter opened this issue Sep 1, 2015 · 1 comment
Open

HTML5 output mode #51

GoogleCodeExporter opened this issue Sep 1, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant