[Plugin] Pastel Highlighter – A little more color in Joplin's Rich Text Editor

Hi everyone!

I've recently been moving my collection of notes from Evernote to Joplin, and while discovering all the possibilities Joplin has to offer, there was one little feature I was missing: a simple way to highlight text using soft pastel colors directly in the Rich Text Editor.

Nothing particularly revolutionary, just something I used regularly when organizing my notes, highlighting important information or going back through older documents.

So, with a little help from ChatGPT, I decided to try building my first Joplin plugin!

After quite a few experiments, debugging sessions and improvements, I'm happy to share Pastel Highlighter v0.4.5.

What does it do?

  • Six pastel colors: yellow, green, pink, blue, lavender and peach.

  • Quick highlighting: one toolbar button applies your last selected color.

  • Color palette: a second button lets you choose another color.

  • Remove highlighting: removes the highlighting while preserving the text and its other formatting.

  • Tools → Highlight: the same options are available through a dedicated submenu.

The goal was to keep things simple, practical and pleasant to use, without having to write HTML or Markdown code.

Compatibility

The plugin was developed and tested with Joplin 3.7.21, using the desktop Rich Text Editor.

I've successfully tested it on two computers, with notes synchronized through Dropbox. The pastel highlights also display correctly in Joplin for Android, even without the plugin installed.

I haven't tested it on iPad yet.

Download and installation

You can find the source code and download the latest .jpl file from the GitHub Releases page:

GitHub: https://github.com/cyborgjeff-coder/joplin-pastel-highlighter

To install it, simply open Joplin → Settings / Preferences → Plugins, choose Install from file, and select the downloaded .jpl.

A small personal project

I'm not a professional plugin developer. This project was created with the assistance of ChatGPT (OpenAI), which helped me write the code, build the plugin through GitHub Actions and work through the various technical issues. (Yep, after long years of falling on Github, I understand more now how it works ! )

It's been an interesting learning experience, and I'm happy to finally have a little tool that fits the way I like to organize my notes.

So well, may be it could also be a plugin you'd like to use ??

FYI the github repository which you linked does not exist

Thanks... I thought make a release was enough to switch from private to public... does it works better ?

Hi,

I tried following your instructions.I was able to get an artifact and download a zip file and inside the zip file was pastel-highlighter-test05.jpl.

After I install the plugin inside Joplin, it says I am running 0.3. I don't understand why I don't have 0.4.5.

Pastel Highlighter Test 0.3 v0.3.0

@cyborgjeff-coder You did not attach the actual JPL to the release. If you edit the release Release Pastel Highlighter 0.4.5 · cyborgjeff-coder/joplin-pastel-highlighter · GitHub you can attach the built JPL file to it manually

iPad compatibility has not yet been tested.

I haven't built the plugin myself as I got an error when trying to do so, but I presume the highlights create a span element with a background colour set. If that's the case, then editing on the mobile rich text editor will currently strip out your pastel highlighting when you open / edit it. I've created a Joplin PR which should prevent that Mobile: Support highlighting text in custom colours in the ProseMirror editor, to match TinyMCE behaviour by mrjo118 · Pull Request #16847 · laurent22/joplin · GitHub