Hi,

Also note that I’m upgrading to Qt5 at the moment, which I think uses a 
different engine, so hopefully that will help too.

Cheers,

Peter

From: sampablokuper via mnemosyne-proj-users 
[mailto:[email protected]]
Sent: 07 June 2016 17:49
To: mnemosyne-proj-users <[email protected]>
Subject: Re: [mnemosyne-proj-users] Re: How to put pre-formatted text into a 
card?

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]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[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<https://groups.google.com/d/msgid/mnemosyne-proj-users/3ab3b50f-b12c-4172-8506-0ccbec12dc87%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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/ce49a8fa5a7548b2a28b4326e3c2365d%40xmail102.UGent.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to