Thanks Peter, On Tuesday, June 7, 2016 at 12:36:54 PM UTC+1, Peter Bienstman wrote: > > Basically, the cards are displayed in a full html widget, so anything > which is standard html is possible there.
However, note that Mnemosyne wraps your html inside a piece of html > template with a css taking care of the fonts, alignment, ... you pick > globally This is good to know, and more or less what I expected. Unfortunately, Mnemosyne is not rendering my HTML/CSS in the way that a conventional browser (e.g. Firefox or Chromium) would. In particular, 'pre' and 'code' elements are not being rendered in the way that Firefox or Chromium would normally render them; and CSS cascading does not appear to be working consistently. It looks like at least a couple of other Mnemosyne users have encountered similar issues: https://groups.google.com/forum/#!msg/mnemosyne-proj-users/6knPDJX3sOs/zPRNRNZmvPgJ https://groups.google.com/forum/#!msg/mnemosyne-proj-users/oD1erQDODr4/O4vrXG5W1_AJ I understand that Mnemosyne is using Qt for rendering HTML (possibly QtWebKit). I do not have any experience with Qt's approach to rendering HTML/CSS, so perhaps there are some gotchas that I need to figure out. If I make any progress with this, I will try to remember to update this thread. Thanks again :) -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/3ab3b50f-b12c-4172-8506-0ccbec12dc87%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
