On Thu, 13 Jan 2022 15:00:12 -0500, Eric Covener wrote:
>> But if I put the md file on my webserver (without having thios server side
>> parsing) then I expected the add-on to again render the file into a html and
>> display it. But that does not happen at all, FireFox just opens a dialog to
>>
> Is there some alternative around?
If you don't care about performance and want flexibility you can roll
your own with CGI.
httpd.conf:
AddHandler md2html .md
Action md2html /cgi-bin/md2html
cgi:
```
#!/bin/sh
printf "Content-Type: text/html\r\n\r\n"
if [ -f "$PATH_TRANSLATED" ]; then
> But if I put the md file on my webserver (without having thios server side
> parsing) then I expected the add-on to again render the file into a html and
> display it. But that does not happen at all, FireFox just opens a dialog to
> ask
> me with what to open the file?
Maybe something like
On Thu, 13 Jan 2022 12:15:54 -0500, Eric Covener wrote:
>> MarkdownCss /opt/misc/apache-mod-markdown/markdown.css
>
>From the code you linked to, this seems like it would pretend to work
>if you ran it locally in a browser on the webserver.
>The content of the CSS file is not incorporated
> MarkdownCss /opt/misc/apache-mod-markdown/markdown.css
>From the code you linked to, this seems like it would pretend to work
if you ran it locally in a browser on the webserver.
The content of the CSS file is not incorporated into the output, only
a meta tag with the path verbatim that
On Wed, 12 Jan 2022 22:15:23 +0100, Bo Berglund wrote:
>Ubuntu server 20.04.3 Apache2
>I am trying to install support for rendering files with extension .md so they
>are displayed like for example md files in GitHub.
>
>So I have asked on Ubuntu User mail list and got directed to this module on