fix markdown formatting for scripting elements