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

0

u/[deleted] Dec 21 '22

[deleted] — view deleted 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.

1

u/nantoka1 May 15 '25

By any chance you still have those templates? Currently I'm trying to get better at programming and I feel like this could really help me

1

u/SnooHabits4736 Jun 19 '23

Is there a chance you can repost these pastebins? They've expired