Preprocessing markdown text

Maybe this could help: Is there a pre-render pre-processor callback?