How to fetch md file from gitlab repository as an html?

Is there a way (some API perhaps) to export (fetch) md files stored in the repository to an html?

Hi @artemii_sh and welcome to the community forum!

This is not a native feature in the UI or API, but there are a couple of ways to accomplish this on the command line.
One solution would be to use pandoc to convert from markdown to html.
This conversion can occur on either your local machine or using gitlab runner with a CI/CD pipeline.

1 Like

@gitlab-greg, thanks a lot for your advice!