Card format in ankidroid

Hi
I would like the text pasted into the cards to have the original format (color and font), but its formatting is completely removed. What can I do?
I appreciate your help.
Original text:


Pasted:

Is this from a website? If so, could you send the link?
I suspect that if the formatting isn’t being copied, then the formatting is being applied in a different manner/the formatting isn’t allowed to be copied.

Thanks for your response,
It is dictionary website, with following link
w ww. ldoceonline . C o m /dictionary/rattle
There is no problem for copying of text formatting, however when l want paste it in ankidroid all formatting will be vanish!

Thank you for sending the link.
The colours that you see are applied as classes, and since we have not specified those classes before in CSS, you are unable to see the formatting done in that manner. I’m not sure how I’d go around copying that data as well, since it doesn’t seem to be copying that part of the data.

2 Likes

That generally has more to do with what is being picked up in your copy buffer than what is happening when you paste.

1 Like

Thanks,
I know, but what procedure should I follow when pasting?

My point was – you can’t fix it while you’re pasting, because it generally depends on what you grab when you’re copying.

But I wasn’t thinking about the fact that this is AnkiDroid – and AnkiDroid is different. Since the Editor shows you the raw HTML, even if you copy something with adequate formatting incorporated with the text, you’ll probably lose the formatting on pasting. I don’t know any way around that.

It’s not going to work on Android but it might on a computer. Another solution is to ask ChatGPT (or anything else of your choice) to write down the text with the formatting in a code block. Then you just copy-paste it from there.

I tried copying on MacOS, it gave an output with bolded characters where it is originally bolded, but lacked the colour formatting so I’m inclined to believe that copying that data isn’t possible.