Ubuntu 20.04.3 server can Apache be made to render md documents like on GitHub?

Peter Flynn peter at silmaril.ie
Wed Jan 12 12:01:03 UTC 2022


On 11/01/2022 23:52, Bo Berglund wrote:
> I am writing a lot of notes for myself to access when I need to do
> stuff on Linux and elsewhere. These are written as md documents,
> which I feel comfortable with. I can read them fully rendered using
> the "Markdown Viewer Webext" add-on for FireFox. But unfortunately
> this does not work if I put the md documents into my Apache server,
> then the add-on does not work. :( THey have to be located on my PC
> file system and accessed via that from FireFox...
I'm not sure I understand this. I serve .md files from my web servers
and they all render, but I had to configure the Markdown Viewer for
Chrome (actually I use Brave) to recognise the URIs, and that is very
hard to find the right combination of globs and REs.

See for example http://latex.silmaril.ie/packages/bookshelf/
and click on README.md

> So has anyone here managed to configure Apache to do this and is 
> willing to share how? I have asked before but only got responses
> which required a deep understanding of the inner workings of
> Apache...

I don't think it's Apache that needs configuring, it's your plugin.
I don't recall having to make any changes to Apache, and it works off
the local copy on my desktop and laptop as well. You need to get the
plugin configures to recognise the URIs

Peter




More information about the ubuntu-users mailing list