Re: [users@httpd] Re: How to configure and use mod_markdown

2022-01-13 Thread Eric Covener
> 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 pan

Re: [users@httpd] Re: How to configure and use mod_markdown

2022-01-13 Thread Eric Covener
> 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 th

Re: [users@httpd] Re: How to configure and use mod_markdown

2022-01-13 Thread Eric Covener
> 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 woul