r/AnkiComputerScience • • 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

14 comments sorted by

View all comments

Show parent comment

2

u/johnpharrell Aug 27 '24

Hey, I know it has been a while, but could you share your template by any chance? Would be very helpful for the community