krmanik / Sentence-Adder-Anki-Addon

Add sentences to Anki editor window in one click
GNU Affero General Public License v3.0
14 stars 6 forks source link

putting any HTML to set the target word apart in a sentence (not just colors) #18

Closed daredvz closed 1 year ago

daredvz commented 1 year ago

Would it be possible to implement the option adding custom HTML to wrap around the target word (say, if I wanted bold; target word; now there are some tatoeba sentences which already include this so it would probably require to strip formatting from tsv file and then wrap custom formatting around a target word...) and not just the color when in the config? If it has already been added and I did not notice, my bad. Also, I noticed, that even if adding just one sentence, it adds a line break, which has a tendency to multiply and annoy :D ...

I am no programmer and I have not the slightest idea how much work it includes but I was just wondering, I tend to just emphasize the target words with bold.

Anyway, thanks for your work!

krmanik commented 1 year ago

This can be done. I will start development/updating this addon soon.