Reworking markdown rendering