Skip to content

Fix non-consecutive heading levels in ProblemSet pages #2

Description

@Yuning598

Summary

The local TeachBooks build reports many Non-consecutive header level increase; H1 to H3 warnings in the ProblemSet pages.

Evidence

The warnings appear in:

  • PhD-Course/book/ProblemSet/Corporate Finance.md
  • PhD-Course/book/ProblemSet/Econometrics.md
  • PhD-Course/book/ProblemSet/Empirical Asset Pricing.md
  • PhD-Course/book/ProblemSet/Microeconomics.md
  • PhD-Course/book/ProblemSet/Theoretical Asset Pricing.md

The warnings include headings near the beginning of the files and repeated occurrences throughout the documents.

Impact

This can produce incorrect document hierarchy, confusing navigation/TOC structure, and accessibility problems in the generated HTML.

Suggested fix

Review the heading structure and replace unintended H3 headings that follow H1 headings with the appropriate H2 level. Preserve intentional section nesting where applicable.

Reproduction

From PhD-Course, run:

teachbooks build book

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions