To add a line to your Line post, press "Replace Drawing" and start to click on the map, clicking twice on a point to finish the line. You can also upload a geoJSON if you prefer.
Bezier Line
By default, lines are drawn exactly straight between your coordinates. But you can draw a curved bezier line if you prefer. Just look for this symbol, click it, and press Alt while dragging to adjust the bezier curve of your line.
Bezier Line Examples
Color
Adjust the color of the line.
Width
Adjust the line thickness.
Opacity
Adjust the transparency of the line.
Dashed Line [Mapbox]
Mapbox allows customized dashed lines. You can adjust the dash length and the gap length.