Open schoeke opened 4 years ago
🤔 This will require some thinking about and planning, but is a good suggestion.
The other thing to consider is that highlighting in Obsidian is non-standard markdown AFAIK, and other apps handle it differently (I think bear uses ::example text::
for example). Not something that can't be overcome with options, of course.
Multi-coloured highlights would be handy, but I'm a bit hesitant about adding a HTML tag in the output of an extension whose purpose is to convert HTML to markdown.... I'll think about it further.
Here's a quick suggestion, support a few highlights colours by different numbers of equal signs, in a similar fashion to the headers #, ##, ###, ####,
behaviour we would have ==, ===, ====, =====, ...
for different colours, if possible chosen by the user. Maybe default to rainbow order?
Actually, we could harmonise bear and obsidian by assigning warm and cold colours to either :
or =
while still following the rainbow order:
::
- Red
:::
- Orange
::::
- Yellow
==
- Green
===
- Blue
====
- Indigo
If we need 7 colours, we might represent violet by both =====
and :::::
.
No need for any pesky html, and seems like a pretty natural extension of current notation.
Provide the possibility to highlight sections of a clipped page, if possible even in multiple colors.
Obsidian for example allows to highlight text in a marker style by using
==example text==
. This a simple yellow marker, equivalent to<marker>example test</maker>
.Other bookmarking tools such as diigo even provide multi-colored highlights, which also allows multiple users in to mark the same text or allow to differentiate the marking of multiple passes over the same text. This would be for example equivalent to
<marker style="background-color: greenyellow">example test</maker>
.This could be provided as option in the the context menu as
Highlight Selection as Markdown
with different colors as sub-options.