Page 1 of 1

Customize font style

Posted: Mon Jan 23, 2023 6:10 pm
by [Stupid]_[User]
Hello!

I have a lot of code fragments in my document. I use <msgph> to separate those fragments from simple text. I use HTML5 & CSS transormation scenario. I trying to add text-decoration-color, but it doesn't work. Is it any way to add colored highlight for my code fragments using css?

Re: Customize font style

Posted: Wed Jan 25, 2023 11:14 am
by andrei_pomacu
Hi,
Since you have code fragments in your document you could use <codeblock> instead of <msgph>. It will separate your code fragments from your simple text, and also will add text decoration on your key elements from code.
You could read more about codeblock here.
Regards,
Andrei

Re: Customize font style

Posted: Wed Feb 01, 2023 4:08 pm
by Erwan52
Hello and thank you for the link. It is very helpful for me too.

Re: Customize font style

Posted: Tue Feb 28, 2023 5:35 pm
by [Stupid]_[User]
Hi, Andrey!
Thanks a lot, it was helpfull for me!
andrei_pomacu wrote: Wed Jan 25, 2023 11:14 am Hi,
Since you have code fragments in your document you could use <codeblock> instead of <msgph>. It will separate your code fragments from your simple text, and also will add text decoration on your key elements from code.
You could read more about codeblock here.
Regards,
Andrei