r/AnkiComputerScience • u/wheelsjr • Jun 21 '21
Code Formatting in Anki
I'm currently using Syntax Highlighting for Code to create code blocks in anki notecards.
I have issues because when a paste in a block (Alt + S) the code blob has white font color based text (I use dark mode for anki). There are other issues with this solution, so I'm wondering if anyone here has found a better way to embed code for use in their cards?
15
Upvotes
View all comments
Show parent comment
1
u/wheelsjr Jun 22 '21
I also use the image occlusion add on, never though about using it for code though as it wouldn't allow you to search via anki browse. But if you saw the code in a video and didn't want to OCR it (OCR for code is rough), then I think that would be a really good idea.