akaalias / extract-highlights-plugin

Manage your highlights in Obsidian by easily creating, removing and exporting them.
88 stars 8 forks source link

Respect lists elements when highlight a line #9

Open dariuszkowalski-com opened 3 years ago

dariuszkowalski-com commented 3 years ago

Now when I press SHIFT+ALT+_

whole line is highlighted even if this is a part of a list.

It destroy lists which is not expected for me.

Now when I have got

# header element
- line one
- line two
- [ ] task

and use hightligh function

i get:

==# header element==
==-line one==
- line two
==- [ ] task==

but, i would like to get:

# ==header element==
- ==line one==
- line two
- [ ] ==task==

it should respect all possible in obsidian lists and headers elements

# header 
## header 
### header 
#### header 
##### header 
* elememt
+ element
- element
1. elemenet
2.  all numbered elements
- [ ] task
- [x] task
akaalias commented 3 years ago

Hi there! Thank you for your patience and your awesome suggestion. I want the features you're describing as well!

I'll keep you posted when I get to coding this. Thanks!