Also with indented source code you can use <<-
<<-
(with a trailing dash) to ignore leading tabs to ignore leading tabs (but not leading spaces). For
For example this:
if [ some test ]; then
cat <<- xx
line1
line2
xx
fi
Outputs indented text without the leading whitespace:
line1
line2