On 20-10-2025 16:36, Didier Kryn wrote:
> Hello guys.
>
> I'm confused with markdown files. Essentially I'm concerned with
> README.md like one can find in any git store, like git.devuan.org.
>
> 1) If I write a file in the Markdown format, my browser doesn't
> know how to display it.
>
> 2) If I point my browser to the same file through a server at
> localhost, it still can't display it.
>
> 3) If I point the same browser to some README.md file in the git
> store, now it can display it.
>
> 4) If I look at the content of the README.md file, it is just
> plain HTML!
>
> Is somebody lying, or is there some mechanism in the servers which
> convert md to html, or what else?
>
> Thanks if one can explain.
>
> -- Didier
I do not know your use case but I use Hugo (static site generator)
https://github.com/gohugoio/hugo to generate html from markdown files.
Hugo has a builtin developer web server to view generated html and you
can push the generated content to a website if you like, which is where
I use it for. It is also possible to show the content of markdown files
within generated html file.
Nick