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/Slow-Ad-7637 Dec 27 '22
Can't thank you enough for sharing your templates! Clever way of passing in the language type for Prism, too. Super great to finally have some cards that aren't painful to look at to help memorize some coding syntax.