How can i insert links in between the text lines within the same document

Guys hi,
I was wondering if it is possible to connect the lines of a document. I have no coding abilities but i use foldingtext to create text based mind maps and i want to connect the nodes within a document depending on the scenario.
Something like this:

Sign Up

  1. type a username
    1.1. username available?
    1.1.1 yes “good news, /username is available, do you want to reserve it?” no Go to 1 yes Go to 2
    1.1.2 no “username is not available, please click here (Go to 1) to pick another one”
  2. activation

I was playing around with this at one point, but didn’t end up implementing a solution. Here, though: