Right, but Gitlab does have the excellent built-in pipeline editor that will visualize and validate your pipelines for you.
It can also render the complete pipeline config (making it easy to run and debug the problematic parts locally just by copying the relevant parts, even if they're hidden in and include somewhere).