Copy link to clipboard
Copied
Ziel: Ich möchte für eine Anleitung Code-Zeilen farbig einfügen.
Vorgehen: Ich nutze den "Sublime"-Editor, der Code farbig als RTF kopiert.
Problem: Beim Einfügen gibt es neuerdings die Wahl, ob man die Formatierung ebenfalls einfügen möchte. Bestätige ich das, wird nur der halbe Text eingefügt, die andere Hälfte fehlt.
Woran kann das liegen? Danke für Eure Hilfe!
Jan
Copy link to clipboard
Copied
Why not build and apply a Paragraph Style to dress up the text the way you want it to look?
Copy link to clipboard
Copied
Is the color-coding actually part of the text, or is it applied by the editor as the content is displayed? I have never used a code editor that actually applied color to the text, on import or export to any standard file format. In my experience, it's the latter, that the editor parses the content and applies the color coding only as a display convenience.
If the content is pure RTF, try saving it as an RTF file and importing it, rather than using cut and paste.