How to avoid using setext in markdown output?

Sean Walsh 50 Reputation points
2024-05-30T11:53:12.4033333+00:00

I'm running a document through Azure DI and then trying to split the markdown on headers, but I'm getting setext headers in the output, like so:

<!-- PageNumber=\"i | Page\" -->
EXECUTIVE SUMMARY
===
The purpose of this evaluation is to ...

The heading should be export as:

# EXECUTIVE SUMMARY

Is there a way I can get DI to output like this?

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,484 questions
{count} votes