fix markdown for foundation invocations.