Hi!
It’s lowk inconvenient to constantly copy-paste my adjustments from my editor of choice (be that VSCodium or neovim) into anki’s HTML or CSS pages and seeing how card preview is displayed
Is there a neat solution to that?
Hi!
It’s lowk inconvenient to constantly copy-paste my adjustments from my editor of choice (be that VSCodium or neovim) into anki’s HTML or CSS pages and seeing how card preview is displayed
Is there a neat solution to that?
Maybe other add-ons?
Try to find something that suits you.
My solution isn’t perfect.
Card Templates - HTML JavaScript CSS code highlighting
I need to fix a bug there, but I haven’t been able to since the beginning of the year; I’ve been busy with other projects. The bug is that you can’t press “F2” when text is selected—it closes Anki. ![]()
It’s a complex add-on, and it’s not perfect, but since it saves positions and has a highlighting feature, I use it.
You could just make your edits directly in the template editor in Anki.
There is also this GitHub - Pedro-Bronsveld/anki-editor: Visual Studio Code extension to edit Anki card templates and CSS styling with syntax highlighting and intellisense. and other similar VSCode extensions.