jasonwilliams / anki

Anki VSCode Plugin
MIT License
275 stars 31 forks source link

How to upload Base64 encoded pictures #64

Open aote777 opened 2 years ago

aote777 commented 2 years ago

Thanks for the tools written by the author

图片

aote777 commented 2 years ago

I need to put Base64 last because it's too long

jasonwilliams commented 2 years ago

Hi @aote777 theres currently no support for base64. It would need to be added, is this something you’re happy to work on? I currently don’t have any time right now. I suppose you would need to see if Anki Or AnkiConnect supports base64

aote777 commented 2 years ago

Hi @aote777 theres currently no support for base64. It would need to be added, is this something you’re happy to work on? I currently don’t have any time right now. I suppose you would need to see if Anki Or AnkiConnect supports base64

OK, I'll check it in my spare time

aote777 commented 2 years ago

@jasonwilliams I wrote a demo that can parse markdown syntax. https://www.jianshu.com/p/57b84a7a3c75 And anki can automatically convert the base64 copied from the clipboard into img tags, but it seems to use the size limit, so I don't test it further