Move line or selected text to specified heading in the document

It’s working now.

It didn’t worke probably because I think I was trying to use on a .txt file.