Plugin help: Markdown in string processed by plugin not being rendered

So read up a bit and seocnd attempt probably a better approach but the same problem persists: gsub does its thing, but any markdown contained in between does not get rendered as HTML afterwards (even though we are firing this “pre_render”).

Markdown in “\1” is left intact pre_render, why isn’t Kramdown converting it?