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
inconsistent h levels #380
Comments
You're right. Doing the design on spec meant it wasn't feasible to re-think the mark-up of all the pages—I worked with what was already there. There are other similar clean-up tasks that need doing, too:
I can try to do those as time permits. As for the heading issue, the easy route would be to change the page titles from h1 to h2. That would require the least amount of markdown changes. There are only a few outliers that use h2 instead of h3 right now (/security for one). That way you'd have: h1. Ruby This would also appeal to purists who prefer a single h1 per document. I personally don't think that's necessary but this is the easiest route to consistent leveling. And the only CSS change would be to style the |
Ok, I like this way around. I'll do that "as time permits" ;) |
FWIW, I took a stab at this over the weekend (https://gist.github.com/jzimdars/70d55fde7ae85c02002f) and I was't happy with the result. From the point of view of a writer, it felt unintuitive and unnecessarily limiting that the first heading you could use in a MD file was In the end it's a minor issue and even HTML outliners aren't tripped up by this: So I don't feel strongly either way, just wanted to share this impression after working on it. |
I noticed the
h
levels are inconsistent. Main title is h1, then most pages (if not all) jump straight to h3 and h4 for section and sub-section titles.I guess @jzimdars styled the DOM as it was proposed. I'm wondering whether we should transfer h3 styles to h2, h4 to h3's etc. and fix markdown files, though.
The text was updated successfully, but these errors were encountered: