diff --git a/.docs/lib/parse_sections.js b/.docs/lib/parse_sections.js index 73df3b2..8f8be3b 100644 --- a/.docs/lib/parse_sections.js +++ b/.docs/lib/parse_sections.js @@ -39,8 +39,8 @@ function make_section(acc, cat_current, cats) { .replace(/\s+/g, "-") .replace(/-.*$/, ""), content: markdown.render(acc.slice(1).join("\n")) - .replace(//g, "") - .replace(//g, "") + .replace(/<(\/?)h4>/g, "<$1h3>") + .replace(/<(\/?)h5>/g, "<$1h4>") }; }