Touying adds invisible headings to each slide, so you can use query(heading) to retrieve the current section information.
query(heading)