docs: replace h3 with h2 headings (#1452)

This commit is contained in:
metonym 2022-08-17 07:15:29 -07:00 committed by GitHub
commit e2a90005b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
70 changed files with 552 additions and 559 deletions

View file

@ -170,7 +170,7 @@ module.exports = {
walk(parse(content), {
enter(node) {
if (node.type === "Element") {
if (node.name === "h3") {
if (node.name === "h2") {
const id = node.attributes.find(
(attribute) => attribute.name === "id"
);