added support for converting gollum links into markdown links before processing