Markdown snippet toggling