I have some text files that can grow quite large and one trick I use is to keep a less history file to help me navigate. For example, I can save searches and marks in a history file. The format is simple.
.less-history-file
.search
"term1
"term2
.mark
m a 1 46248 1.fifo
m b 1 11509 1.fifo
Then I use a small shell script to read the text file. Something like #!/bin/sh
(zstd -dc /path/file.txt.zst > 1.fifo&)
LESSHISTSIZE=999999999999999999999999 \
LESSHISTFILE=/path/.lesshst.file.txt.zst \
exec less -G --save-marks --no-histdups 1.fifo
Another aproach might be to use an editor with macros like ex/vi as the pager.Sometimes I see people converting text files into HTML, e.g., RFCs or manpages, but in these documents there are often no "hyperlinks" so the HTML at best only adds enhanced appearance and possibly the ability to jump around within the document. At a cost of making them significantly larger.
Instead of using markup and storing navigation information in the file, and using an HTML reader, this stores the information in a small, separate, associated text file.