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

Bo Berglund bo.berglund at gmail.com
Wed Jan 12 15:35:14 UTC 2022


On Wed, 12 Jan 2022 12:01:03 +0000, Peter Flynn <peter at silmaril.ie> wrote:

>> 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

Last time I looked at this it was the case that Apache using some MD module
would render a file ending in .md using the "converter" for md and send
ready-made HTML back to the browser.
The problem for me then was to figure out how to get it going, it seemed to rely
heavily on css processing and such.

But once in place it does not require any browser plug-in, because what is
returned is plain HTML after conversion.
I don't want to be searching for plug-ins to all the different browsers (for
Chrome on PC I have found none working), if it is solved server side then there
is no need for that.

And another reason I want this is to be able to NOT have to let the browser
access the local file system, which is the only way I have managed to get it
going just now.

Right now I have followed the apt install part of the github readme, so Apache
is up and running but I don't know (yet) how to proceed.


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list