Get Apache to serve Markdown as HTML

222

Solution 1

This sort of syntax is typical for a wiki engine, but they mostly propose similar syntaxes other than Markdown. However, you can try MDwiki:

MDwiki is a CMS/Wiki completely built in HTML5/Javascript and runs 100% on the client. No special software installation or server side processing is required. Just upload the mdwiki.html shipped with MDwiki into the same directory as your markdown files and you are good to go!

It really is that simple. Follow the tutorial. This is a renderer, not an in-page editor.

Solution 2

Yes, there is https://github.com/hamano/apache-mod-markdown.

There is a package for arch linux but there seems to be no debian package. However, the instructions in the README are written for Debian/Ubuntu.

Solution 3

I don't think there is any such Apache module, and I'm not sure that it would even make sense to have one.

However, Markdown is implemented in many different languages (including php, perl, python, java etc), and many blog/wiki/CMS etc programs written in those languages have either built-in or plugin-provided support for Markdown.

See https://en.wikipedia.org/wiki/Markdown#Implementations

Share:
222

Related videos on Youtube

mariosbikos
Author by

mariosbikos

Updated on September 18, 2022

Comments

  • mariosbikos
    mariosbikos over 1 year

    I want to create a Visual Studio Project which will utilize 4 different Libraries.

    Library 1: I have got it from github and I have only src code files+CMakeLists.txt which calls libraries like opencv/opengl/glut and also library 2.I don't have any dlls,bins etc.

    Library 2: Is openCV 3.0.I have both build files and src files.

    Library 3: I have ready files-->include,bin,dlls etc

    Library 4: I have ready files-->include,bin,dlls etc

    How can I start with CMake to combine all the above libraries? I should start a brand new project and write a CMakelists file which will call for all 4 libraries stated above? Can I use immediately the 1st library which hasn't been compiled? Any CMakeLists.txt example to get started for combining all these?

    • marolu
      marolu about 6 years
      see this: docs.blogofile.com/en/latest/intro.html simple installation in ubuntu.
    • warren
      warren about 6 years
      @marolu - while an interesting alternative, that doesn't really answer the question :)
    • Stan Strum
      Stan Strum about 6 years
      The way I see it is that browsers do not read Markdown, it is translated by the server into <b>s and what not. I am sure there are scripts out to covert MD to ML in whatever language (Turing-complete) you are wanting to use
  • AlanObject
    AlanObject almost 5 years
    I use this and it is pretty amazing. However it is a dead project for the past five years now. No longer supported.
  • warren
    warren almost 3 years
    @AlanObject - do you know of any currently-maintained similar project?
  • AlanObject
    AlanObject almost 3 years
    @warren Nope. I ended up writing my own Angular application to do what I wanted.
  • warren
    warren almost 3 years
    @AlanObject - don't suppose you've made it available anywhere?