Skip to content

How to add custom css for cards?

debanjandhar12 edited this page Jan 22, 2022 · 2 revisions

Currently, custom css can be added through Anki UI. Steps:

  • Open Anki.
  • Click Tools -> Manage Note Types -> Select the note type generated by plugin (named "your logseq graph name + Model") -> Cards`
  • Go to css tab and edit the textbox with your css.

CustomCSSTut1.gif

⚠️ There are several differences in structure of output html for anki, and hence directing pasting your logseq's custom.css will not always work.

ℹ️ : Read https://github.com/debanjandhar12/logseq-anki-sync/issues/6 for some anki custom css examples.