I am using Doxygen, version 1.10.0, to generate a PDF from a markdown file. The PDF is generated successfully, but I am facing an issue where the top-level headings in my markdown file (# Heading 1) are being treated as subheadings in the PDF. The root heading in the generated PDF becomes the markdown file name instead of the first-level heading from the markdown content.
How can I configure Doxygen to treat the first-level headings (# Heading 1) in my markdown file as the root headings in the generated PDF, rather than using the file name as the main heading?
Example:
Filename: overview.md
File content:
Some text before first heading
# Project Overview
This is the introduction to the project.
# Module name
Some info about module
## Features
Here goes features description.
Expected result:
Some text before first heading
1. Project Overview
This is the introduction to the project.
2. Module name
Some info about module
2.1. Features
Here goes features description.
Actual result:
1. overview.md
Some text before first heading
1.1. Project Overview
This is the introduction to the project.
1.2. Module name
Some info about module
1.2.1 Features
Here goes features description.
In case there is no text before first heading, actual results looks like:
1. Project Overview
This is the introduction to the project.
1.1. Module name
Some info about module
1.1.1 Features
Here goes features description.
6