Links are already supported in many terminals, see https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3c... and are actually used by the ls program, ls --hyperlinks
The overhead of an HTML DOM vs the typical cell structure used ina terminal is the difference between Jupiter and Mercury.