Line breaks in

<oXygen/> general issues.
Posts: 107
Joined: Mon Nov 24, 2014 1:49 pm
Location: Greven/Germany

Line breaks in

Post by xephon » Mon Sep 27, 2021 2:44 pm


I have a very long command line with various $ask editor variables to model an Apache Ant based document wizard. The code works fine, but it is not very pretty formatted. Is there a trick to have line breaks and indentations in this window without creating an invalid command line?

image.png (33.1 KiB) Viewed 104 times
Open-source DITA-XML solutions:

Posts: 867
Joined: Wed Nov 16, 2005 11:11 am

Re: Line breaks in

Post by alex_jitianu » Tue Sep 28, 2021 11:07 am


You can put an $ask variable on multiple lines and use indentation, for example:

Code: Select all

    'message hello', 
I should mention that it depends on Oxygen version, because in version 21.1 we introduced an improved engine for expanding and recognizing these variables. If you are running an older Oxygen version, the indentation support might be different.

The command line will not be affected because these variables are replaced with their value so there will be no new lines in the resulting command line.

Best regards,

Post Reply