Gasp XIII. Star formation in gas outside galaxies