update editor toolbar for R Markdown format and options