Hey guys,
I am loading the initial text of a richt text entry field via a variable → basically this variable injects a prepared text.
My question: How do I have to adjust this “raw” text, so that a section in this text is displayed as “code” in the richt text editor? As If i would have marked the text section and clicked on “code”.
I think of a start and end command or samething ? Like
//code My text that should be shown in a code block
///code ←
My text that should be shown in a code block :)
What are the commands (start / stop) / what is the way to" “prestyle” the text I am injecting?
Thanks alot!
Best
Peer
