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 11:56:51 UTC 2022


On Wed, 12 Jan 2022 11:10:14 +1100, Karl Auer <kauer at biplane.com.au> wrote:

>On Wed, 2022-01-12 at 00:52 +0100, Bo Berglund wrote:
>> md documents
>> [...]
>> I would very much want to store the docs on my web server
>> [...]
>> So has anyone here managed to configure Apache to do this?
>
>This looks extremely plausible though I have not tried it myself:
>
>https://github.com/hamano/apache-mod-markdown
>
>Last update was late last year, so it's still active.

Thanks Karl,
I had a look at the GitHub page and it is a bit confusing to me...
Basically it says:

# apt install build-essential libtool automake autoconf
# apt install libmarkdown2-dev apache2 apache2-dev

But then it starts to get confusing:

Build

% autoreconf -f -i
% ./configure --with-apxs=<APXS_PATH> --with-discount=<DISCOUNT_DIR>
% make
% make install

What is going to be built and where?
What are the % signs on each line?

It seems like nothing that can be installed via apt but something else entirely
even though it starts out with some apt commands...

The INSTALL file contains a lot of dev stuff too...

I will look further on this, but I had hoped for some ready-to-go Apache plug-in
possible to get via apt or similar.



-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list