Community
    • Login

    Is it possible to create "hyperlink" to places within a notepad++ document?

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 3 Posters 3.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hassan IqbalH Offline
      Hassan Iqbal
      last edited by

      In more advanced word processors we have a table of contents. We click on an item and are immediately taken to the page corresponding to it.

      Is there a way to do this in Notepad++ while using plain text files? It would require that Notepad++ identity certain sequence of characters as being a link to another line or marker in the file.

      PeterJonesP TroshinDVT 2 Replies Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Hassan Iqbal
        last edited by

        @Hassan-Iqbal ,

        Notepad++ is a text editor, not a word processor.

        However, if you’re doing things like code, the builtin feature Function List (enable using the View > Function List menu entry) will allow you to see go immediately to function definitions.

        Using the same Function List feature, this post shows the config information that goes into %AppData%\Notepad++\functionList.xml, which allows the Function List to work with Markdown text headers (so you can quickly navigate between sections in your Markdown documentation).

        If you define a UDL, then define the Function List setting to accompany it, you could get a table-of-contents-like feature for whatever style of text you have (whether it’s code, Markdown, TODO list, or what have you).

        -–
        See @MAPJe71’s excellent FAQ Desk: Function List Basics in the FAQ section of the forum for more on how to configure new languages/formats to be visible in the Function List.

        1 Reply Last reply Reply Quote 5
        • TroshinDVT Offline
          TroshinDV
          last edited by

          See the functionality of the funclist.js script from the repository https://github.com/trdm/jn-npp-scripts.
          I was doing the jump function to the desired line. See functions: gotoAnyHtmlTag (), listFunctions ().
          https://github.com/trdm/jn-npp-scripts/blob/master/includes/funclist.js

          1 Reply Last reply Reply Quote 2
          • TroshinDVT Offline
            TroshinDV @Hassan Iqbal
            last edited by

            @Hassan-Iqbal said in Is it possible to create "hyperlink" to places within a notepad++ document?:

            Is there a way to do this in Notepad++ while using plain text files? It would require that Notepad++ identity certain sequence of characters as being a link to another line or marker in the file.

            Пример текста можете привести?

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors