Skip to content

Include markdown file in mainpage.dox #7688

@fjp

Description

@fjp

Hi, I think this issue is related to #6478. I am trying to include a README.md markdown file into my doxygen mainpage.dox with the following result:

image

I started using \include{doc} but this doesn't include the text as shown in the image above.
Using the obsolete \includedoc the content is included but the markdown heading is not formatted correctly.

Using markdown inside mainpage.dox is working great though.

Is it possible to include such a formatted markdown or would this require an enhancement?

Here is the mainpage.dox:

/**
\mainpage
\htmlinclude manifest.html

\includedoc README.md

\include{doc} README.md

\include labelid

## Test heading

test text 

The content of the README.md is:

## Hardware Interfaces               {#labelid}

Test text inside README.

I am using doxygen verison 1.8.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    MarkdownMarkdown translation input related issueenhancementa request to enhance doxygen, not a bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions