How do I create or rename a section?

Sections come from comments starting with #. Use the Add Section button in the sections minimap on the right, or hover a section header and click the pencil icon to rename it.