docs: replace h3 with h2 headings

This commit is contained in:
Eric Liu 2022-08-17 07:09:36 -07:00
commit 0bc43d9204
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"
);