New AnkiHub Note type formatting issue

Hi, a few days ago I updated to a new note type from Ankihub and now the formatting of my “Lecture Notes” field seems to be off. Particularly, lines of text that come after bullet point lists are now weirdly formatted. This was not the case before. If I add two empty lines after a bullet point list, the issue seems to resolve. I’m just wondering if this change was made intentionally and if there is a way to fix the formatting globally instead of one card at a time.

Thanks!

Hello,

Is your Anki up to date? The lastest Anki version is 25.02.

We pushed some changes related to list formatting. Can you post screenshots of the issue?

1 Like

No, my Anki is not up to date but I will update it and see if the issue resolves. Thank you.

The first image is what I typed into the lecture notes field and the second image is what the corresponding card looks like during reviews.

The thirds image is what I typed into the lecture notes field and the fourth image is what the corresponding card looks like during reviews.

As you can see, the formatting is incorrect in the fourth image.

I hope this helps clarify the issue. Thank you!

It’s clear now. Thank you @jitkin

We did a change to list formatting to make them look more centered, but it introduced this issue. You can add this styles to the end of your Styling section in the Card Types screen to work around the issue for now:

ul, ol {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

Thank you, I appreciate your help. Could you please provide more detailed instructions regarding where exactly I should be adding the lines of code you provided? I can’t seem to find the location you are referring to.

Thank you very much!

  1. Click the Cards button shown at the top left of the editor.
  2. Go to the Styling section and paste the code at the bottom.

We reverted this change in today’s release.

Thanks for updating me. Do I need to do anything to the changes I made to the note styling?

You can just remove them, as they are no longer needed.