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

Option to remove extra section or div around lists #12

Open
ahus1 opened this issue Jul 15, 2019 · 0 comments
Open

Option to remove extra section or div around lists #12

ahus1 opened this issue Jul 15, 2019 · 0 comments

Comments

@ahus1
Copy link
Contributor

ahus1 commented Jul 15, 2019

I'm quite happy with html5s as it provides very clean an minimal HTML that is easy to integrate with for example a blog.

I found that it adds divs around lists (ol and ul), and sections around every hX. Looking into the source the tags will not be necessary until you use titles for lists, or classes for sections.

I'm currently removing these as post-processing steps to receive a minimal HTML. I wonder if I could provide my own sub-templates that override for example olist.html.slim? I assume removing the extra wrapping HTML elements would not suit everyone else.

I'm using the Node.js version of this library. Thanks!

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

No branches or pull requests

1 participant