Isolate markdown renderer and add beginning of custom linking