Language injection in YAML files

Answered

I'd like to be able to inject a language into YAML files at this location:

steps:
my_first_step:
stage: prepare
title: "demo"
image: my_image
commands:
- echo "hello" > junk.txt

 

Specifically for each item under 'commands:' The pattern is steps -> random -> commands -> each list item

Is this possible?

0
3 comments

Alt+Enter, Inject language, Shell Script:

0

I thought describing the pattern would make it clear I wanted to configure a language injection. Not do a one off. So, any suggestions for configuring this?

0

Please sign in to leave a comment.