Step-by-step guide
This can be done using Macro's inline string capability, which allows arbitrary text to be inserted into the macro and stored in a string variable. Example:
# Metview Macro
dummy_string = string inline
%manual
ecflow manual
DESCRIPTION
######################################
# Example ecFlow task
# This is the manual page for the task
#######################################
%end
end inline
print('Start of Macro execution...')