Make Markdown rendering faster

@coral-robin-94

Guarded table and lheading marked renderer, Sent through the API