meld-cp / obsidian-encrypt

Hide secrets in your Obsidian.md vault
MIT License
607 stars 36 forks source link

Feature Request - Encrypt selected text #20

Closed jin-ahn closed 2 years ago

jin-ahn commented 3 years ago

Is there a way to encrypt only selected text rather than the whole line My use case is that I want to generate a table of certain data and only have a field in a line be encrypted, rather than the whole line. Also right now because it does the whole, it ruins the table MD

EX: Name Secret Note
Test %encrypted% this is a note
meld-cp commented 3 years ago

Ah, I see. No, there isn't a way to do it currently, but I'll look into implementing something.

tcallahaneis commented 2 years ago

+1. I, too, would like to be able to encrypt selected text (passwords) in my notes.

meld-cp commented 2 years ago

@jin-ahn, @tcallahaneis, I just released version 1.4.3, there's an option to encrypt by selection and not expand to whole line. 👍

jin-ahn commented 2 years ago

@meld-cp Thanks so much for implementing this!

Feedback: Encrypt works great, just like expected!

Decrypt is a little clunky because I have to highlight the whole encrypted text for the decrypt command to work. If highlighting partial of the text then it trys to run encrypt.