Customize font style
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 21
- Joined: Mon Dec 05, 2022 9:35 am
Customize font style
Post 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?
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?
-
- Posts: 39
- Joined: Mon Jul 25, 2022 11:18 am
Re: Customize font style
Post 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
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
-
- Posts: 1
- Joined: Wed Feb 01, 2023 2:34 am
- Contact:
Re: Customize font style
Hello and thank you for the link. It is very helpful for me too.
-
- Posts: 21
- Joined: Mon Dec 05, 2022 9:35 am
Re: Customize font style
Post by [Stupid]_[User] »
Hi, Andrey!
Thanks a lot, it was helpfull for me!
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service