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-before "breakA" --- INSERT BEFORE --- #endinsert #insert-after "breakA" --- INSERT AFTER --- #endinsert #endadapt
% 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: "breakA" Default Content of "breakA" #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.
--- INSERT BEFORE --- Default Content of "breakA" --- INSERT AFTER ---