@gary-kephart said in remove hyperlink:
We only want that one particular selected text in that document and in that location in the document to be an exception to the rendering feature.
And when you save the file and open it in notepad.exe, or transfer the file to another computer and open it in a different Notepad++, how do you expect those other executables to know which hyperlinks you have customized and which you haven’t?
If the bytes of the file only contain the text of the hyperlink, it’s impossible to do what you ask.
If you say “then put in some special non-text bytes”, then the file in question ceases to be a plain text file, and the application ceases to be a text editor. That’s the way that MS Word and other word processors handle it; that’s the way that Adobe Acrobat and other PDF writers and readers handle it; but it’s not a feature of text editors. So Notepad++ is not going to do that.
And if you say “use a markup or markdown language like HTML or the markdown that this forum uses, because those are both text-only”, then what you need to do is just type the HTML or markdown syntax in the text file you are saving, and to understand that as a text editor, Notepad++ will show you the underlying text (including the textual markdown or HTML codes), not the rendered version – so you would type something like plaintext [link text](https://url "title") more plaintext or plaintext <a href="https://url" title="title>link text</a> more plaintext – and that text you type is what Notepad++ will show you. Notepad++ has a syntax highlighter system, so if you have HTML, it can colorize the markup, but it’s not actually rendering it; and with the Markdown UDL, it will colorize the syntax of Markdown, but not technically render it (it might show some of the italics, etc, but it will still also show you the markdown codes, because the markdown codes are part of the text file you are editing). To render markdown or HTML (view it with all the highlighting and links and hover text), you either need an external application to the text editor (like a browser), or you need a plugin like Markdown++ or PreviewHTML which will create a new panel in Notepad++ where the source code you are editing gets rendered, so you can view it as you edit it.