Sanitize reST extensions to have syntax hilighting in editors (via #773)