ART Syntax Help
% We can insert code when adapting a file, based on the breakpoints in the file % Matching of inserts to breakpoints happen by the break name. #adapt: "file2.art" #insert "breakA" +++++++++++++++++++++++ INSERT CODE +++++++++++++++++++++++ #endinsert #endadapt
This is "file2.art" content START #break "breakA" This is "file2.art" content END % Breaks can have default content % If we insert in "BreakB" we will not see the default content of the breakpoint. % We can use #insert-after and #insert-before commands if we want to keep the default content. % Modify this code to see the outcome. #break: "breakB" Default Content of "breakB" #endbreak
% Note: The insert command will insert in every occurance of the same breakname (can be multiple) along adapt-links. % The insert commands with the same name are getting concatenated along adapt-links.
This is "file2.art" content START +++++++++++++++++++++++ INSERT CODE +++++++++++++++++++++++ This is "file2.art" content END Default Content of "breakB"