jefdongus / insert-symbols-anki-addon

Anki add-on to insert Unicode symbols into cards.
https://ankiweb.net/shared/info/2040501954
24 stars 10 forks source link

Ignore beginning of cloze #20

Open thiswillbeyourgithub opened 4 years ago

thiswillbeyourgithub commented 4 years ago

Hi,

I use you addon multiple times per cloze creation so thank you VERY MUCH.

Unfortunately, something is annoying me repeatedly.

Would it be possible to not add html symbols when the :: are part of the beginning of cloze?

For example : {{c1::A}}BCDE say I want to add an html symbol just after the A, say ::x::, then the current way your addon works will interpret ::A:: as being a call when I was just beginning to call a new symbol.

Could it be done to ignore "::" when they are preceded by {{c[0-9]+ ?

That would be a great help for me.

Thanks for reading this!