Fix compability with the github flavored markdown
Fixes #531 (closed)
Exchanging the markdown package did not work very well. Instead the already existing algorithms were modified so that the result should work quite well.
The only thing which is not supported is the anchor tags but I doubt that they will be used very often.