Please set the default language for azure-pipelines to lang-yaml
.
The new pipelines are described in YAML files, the old ones were only configurable via GUI (reference).
Here are several recent examples where defaulting the language would be helpful:
- Getting 'A task is missing. The pipeline references a task called 'Cache'.' error in Azure Pipeline
- Why showing Unexpected value 'pool' error when put it into a template yaml file?
- Is there a way to create an array in powershell and loop through it in Azure DevOps YAML?
Azure DevOps Pipelines are similar to GitHub Actions Workflows, for which a similar default syntax highlighting request was already completed.
YAML syntax highlighting is available as per YAML highlighting doesn't work on StackExchange sites but is supported by Google Prettify
Syntax highlighting request as per Changes to syntax highlighting and How to add (or suggest) a tag language association for syntax highlighting?.