Multi coloured highlighting can be very useful but even mono highlighting is barely accepted in markdown.
The html solution works but is a massive manual effort compared to just selecting and clicking text (possible in programs that have a variety of pre-set colours) - something that is quicker and easier using a mouse.
I’d be interested in any automated way of doing this.
Currently I extract the text from the md and paste it into a program that does this well.
I don’t see a feature request for multi-colored highlighting so feel free to create one.
The challenge is that highlighting is not standard markdown and so whatever is used won’t be portable. Users who use highlighting in other apps (Notion, Bear, DevonThink) have had import issues because every app uses a slightly different highlighting syntax.
You’re right that html is not ideal, but it would be the most portable. You could do some automation with text expanders.
My solution works well enough for me and is much easier in RTF than MD.
The only way I can think of getting equivalent function in markdown would be a set of buttons (or right click options) which would automatically apply the desired html style. If a system like that were set up then it could be used for a wide range of other text styles such as text colour, size and font.
And they would need a much expanded set of right click options or a ribbon - which has already been requested.
Agreed. Great plugin.
I’d add that it is easily extended manually to allow more complex colour highlighting such as wavy underlines or overlines or strikethrough etc. I added a FR and some comments on the Github site.
I use these techniques for editing, so being able to add them and then remove them in a stroke is especially useful.
Highlightr-Plugin is superb! Thank you for linking to it.
I found the default colors overly saturated, and while numerically balanced appeared visually more in-and-out than I like. I have customized mine to be easier on my eyes and visually in the page with
Color perception curves vary by individual, so YMMV — I hope that provides a better place to start than the defaults for anyone who wants quieter highlighting. Done on a hardware calibrated monitor. I use the equally superb Minimal Theme, in Light Mode, with Light Mode Style set to “Low contrast”.
I also recommend following the directions given by the author on the page linked by @lavaldi and assigning custom keychords to apply regularly used highlights.