Community
    • Login

    Strikethrough feature

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 4 Posters 27.8k Views
    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.
    • Chris OverlandC
      Chris Overland
      last edited by

      Hi, does Notepad++ have a strikethrough or highlight feature for keeping track of completed items on a list? (for example :) TIA

      Alan KilbornA EkopalypseE 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Chris Overland
        last edited by

        @Chris-Overland

        Sort of, you can do this in a text file in a N++ tab:

        before:

        TODO:
        [ ] take out the garbage
        [ ] make cookies
        [ ] chase the wife around
        

        after:

        TODO:
        [X] take out the garbage
        [X] make cookies
        [ ] chase the wife around
        

        Also, I think there’s a todo-list plugin.

        1 Reply Last reply Reply Quote 3
        • PeterJonesP
          PeterJones
          last edited by

          @Chris-Overland: welcome to the Notepad++ Community Forums.

          You asked:

          Hi, does Notepad++ have a strikethrough or highlight feature

          Not directly. Notepad++ is for editing the text; except for syntax highlighting, it leaves out word-processing features like strikethrough.

          However, if you save the text in a Markdown file (.md), then there are two things in your favor: you can use the Markdown UDL (which is now bundled with newer Notepad++ versions), then you can see some syntax highlighting while going… I have a customized UDL which doesn’t have that, so cannot tell this instant whether the markdown ~~strikethrough~~ syntax gets struck out in the editor. If you also have the MarkdownViewer++ plugin, it can render the Markdown into a separate pane, which does properly render the strikethrough.

          In a few minutes, I may be back with confirmation on the default Markdown UDL

          1 Reply Last reply Reply Quote 2
          • PeterJonesP
            PeterJones
            last edited by

            I just said:

            In a few minutes, I may be back with confirmation on the default Markdown UDL

            No, the default Markdown UDL (that ships with 7.6.4) does not define the ~~ as an open/close pair. However, you could add it: Language > Define Your Language, and select Markdown (default) from the pulldown. Go to the “Operators & Delimiters” tag, and go to the lower right “Delimiter 8” style; set Open: ~~, Escape: \, and Close:~~. Then click on that Styler button, and pick a style. Unfortunately, strike-through is not available; but you could set it to Bold+Underline, with foreground color = red, which may be a strikethrough indicator.

            But, as @Alan-Kilborn already said, there’s also a TODO-list plugin, which you can download using Plugins Admin > Task List (current version 2.1)

            1 Reply Last reply Reply Quote 2
            • EkopalypseE
              Ekopalypse @Chris Overland
              last edited by

              @Chris-Overland

              in addition you could use the builtin UDL feature to define a user define language like
              for example such a simple one
              Define an unique file extension and every time you open such a file it tries to color it.

              1 Reply Last reply Reply Quote 4
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors