Jwrede / Anki-KaTeX-Markdown

Creates a new Basic and a new Cloze Note Type that support Markdown and KaTeX
75 stars 5 forks source link

Markdown code centered in AnkiMobile #19

Closed nadavc closed 2 years ago

nadavc commented 3 years ago

Thank you for your excellent plugin! It's been immensely helpful.

When viewing code on AnkiMobile, code seems to be aligned to center. Could we have it be aligned to the left, like it is on the desktop?

PNG image

pilgrimlyieu commented 3 years ago

I don't use AnkiMobile. But I think you can try to add the following code to the Styling.

.card {
  text-align:left
}
Jwrede commented 3 years ago

I'm sorry for being so inactive lately, I've been busier than expected. I can't replicate this problem on my ankidroid, the text is left aligned there but I tried fixing your problem with the latest update, please tell me if it worked. Sorry for everyone reading this who asked for something in the other issues, right now I can't really find the time to do a big update but maybe in the future

Jwrede commented 2 years ago

Closed because of inactivity, reopen if this issue still exists