Added link support
Added escaped code for URL's
coding style fixes - closes #63
Correction of memory management errors
The calculation of `max_lines` takes in account the additionnal lines from URLs
fixed conditional jump error in valgrind
make pandoc images behave like links
changed some links to pandoc style