Dynamically change mapping of headings types so that heading 1 can be mapped to chapter

Currently Heading 1 corresponds to LaTex \section{} command and subsection to \chapter{}. However, this is invonvinient since the subsection headings do not appear in Google Doc’s contents navigation tab on the left. Best way to achieve this would be to assign commands differently depending of the document type of the template, or by adding a setting in the Google Doc extension, so that when selected Heading 1 titles get converted to \chapter{} instead.