I shared an SVG path that draws a triangular outline by moving to a starting coordinate, drawing two edges, and closing the shape.
M12 2L22 20H2Z
The path begins at the coordinate 12 2.
It then draws to (22, 20), draws horizontally to x = 2 at the same vertical position, and closes the path.