How to obtain the outline plugin on mobile devices?

I found a neat trick to genarate a table of contents on any note. You could add 1 line to the top of all your notes to help with navigation. It works in the rich text editor on mobile as well (but you have to switch between view and edit mode or exit the note for it to refresh):

FYI I do think a note outline feature which can be opened via a menu option built into the app would be better though, so you don’t have to scroll to the top (or wherever you put the toc in the note) to access it