-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Make it work with <mark> attributes like <mark class="green"> #13
Comments
I'd support this request, which is needed for this to work with the Highlightr plgin. |
#1 seem to be supported already. |
The current plugin v0.0.18 currently is not able to extract with highlights with attributes e.g. . Thank you for helping to make it work. |
I know little about js and plugin develop. |
I also agree with this proposal, it will be great useful if it can work with the Highlightr plugin, and extract highlights like: |
+1 |
+1 |
I'm not well-versed in Obsidian plugins, so I'm not entirely sure how to implement this as a pull request on the GitHub repo. However, here's how you can implement this in your own plugin of
It's simple regex — this matches any character |
Not sure if this is being maintained any longer; @akaalias is this project still being worked on / updated? |
Thank you @alxgoldstn , that worked great. I was wondering how could we improve it even more. I was thinking on assigning to each color a different callout when pasting. Do you have any clue on how we could do it? |
Hi there, and thanks for a useful plugin. I came across a small issue today and wonder if you’d like to fix it.
Currently, the plugin extracts highlights fine for
==highlight==
)<mark>something</mark>
but it will not extract highlights if the
<mark>
element has attributes, like<mark class="green">
or<mark style="background-color: pink;">
.Since I showed how to use "compatible" different-colour highlights in the forums today, I’d be grateful if Extract highlights could also handle these.
The text was updated successfully, but these errors were encountered: