perldotcom
perldotcom copied to clipboard
Let's switch to h2 for sub headings
In our articles we use h3 as subheaders:
### sub header
Let's switch to H2. It makes more logical sense (if the title is H1), but it will also let us write articles with the nicer underlined sub headings if we want:
sub header
----------
One way to do this would be:
- Check if anything is using h2 on the website at the moment, if it is switch it to an alternative
- Update our css to style H2 and H3 in exactly the same way, check that they look the same
- s/h3/h2/ for all articles.
- style H3 like H4 is currently
- s/h4/h3/ for all articles
If you set up the CSS I'll go through the articles to convert things.
Ok @briandfoy this is live. This example article uses H2 subheadings. Commit 334901a