Cross reference headings (chapter titles)

Is it possible to cross-reference titles of chapters (headings)?

I know the extension already makes possible to cross reference equations and figures, but I could not find any option for headings.

Self-answering to myself again, this is possible by including an in-line Latex block on the same line of the chapter/section title with:


Which can then be referenced in the text with another in-line latex block with \ref{someChapterIdentifier}.