Berlin - Components | Code
The component automatically recognizes the following languages:
- Ini, TOML
- HTML, XML
- Shell Session
You will find this component in the "Text" component group.
This component has no properties. All we have to do is write inside the programming code that we want to show students. It is recommended that you compose the code or pre-pass it through a txt, and not copy and paste it from other sources (Word or others) because the text styles that the source text has (font, color, etc.) will be applied.
It should be noted that in the editing area you do not see any style for the built-in code. You need to preview the course to really see what this component looks like.
View in edit mode:
Preview mode view