Strikethrough feature
-
Hi, does Notepad++ have a strikethrough or highlight feature for keeping track of completed items on a list? (for example :) TIA
-
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 aroundafter:
TODO: [X] take out the garbage [X] make cookies [ ] chase the wife aroundAlso, I think there’s a todo-list plugin.
-
@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
-
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)
-
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.
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