Skip to main content

Custom CSS for Anki Cards

You can customize the appearance of your Anki cards by adding custom CSS through the Anki interface.

Steps

  1. Open Anki
  2. Click ToolsManage Note Types
  3. Select the note type generated by the plugin (named "your logseq graph name + Model")
  4. Click Cards
  5. Go to the CSS tab and edit the textbox with your custom CSS

Important Notes

  • The HTML structure for Anki cards differs from Logseq, so directly pasting your Logseq custom.css may not always work
  • You'll need to adapt your CSS selectors to match the Anki card structure
  • For CSS examples, see GitHub Issue #6

Persistence

Custom CSS added through Anki's interface is preserved across syncs. The plugin only updates card content, not the card template styling.