2021-09-14 09:45 AM
In the new Community environment, the text editor allows you to include nicely formatted code fragments in the integrated rich editor, but they are displayed without any color in the actual post. Would be nice if the syntax colouring from the editor gets retained in the post display.
Solved! Go to Solution.
2021-09-14 10:03 AM
Sorry I missed that you said code fragment.
It is showing the same colours for me in the post.
Barry.
2021-09-14 09:55 AM
I have not tried to colour text yet.
But now I have.
Barry.
2021-09-14 09:56 AM
Yes, it works - using the text colour tool.
Barry.
2021-09-14 09:59 AM
The fragment below looks like the following in the preview:
And this is what is shown in the actual post:
<?xml version="1.0" encoding="utf-8"?>
<BuildingInformation>
<Classification>
<System>
<Name>RG904 v. 2014 - Regie Der Gebouwen</Name>
<EditionVersion>0.1</EditionVersion>
<EditionDate>
<Year>2021</Year>
<Month>9</Month>
<Day>10</Day>
</EditionDate>
<Description/>
<Source/>
<Items>
<Item>
<ID>01.01.</ID>
<Name>Inrichten van de bouwplaats</Name>
<Children>
2021-09-14 10:03 AM
Sorry I missed that you said code fragment.
It is showing the same colours for me in the post.
Barry.