Last active
March 22, 2022 15:09
-
-
Save ryanpedersen42/8c657c858fd05072c9b11aad73d265d6 to your computer and use it in GitHub Desktop.
Scalars and Chomp Modifiers Examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pipes and folded scalars | |
pipe: | | |
Farm boy, fill these with water | |
As you wish. | |
pipe_example: | | |
docker build -t $DOCKER_REPOSITORY:$TAG . | |
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USER --password-stdin | |
docker push $DOCKER_REPOSITORY:$TAG | |
folded_scalar: > | |
Hello, my name is Inigo | |
Montoya. You killed | |
my father. Prepare | |
to die. | |
# clips, strips, and keeps | |
strip_pipe: |- | |
a demo to | |
test | |
clip_pipe: | | |
a demo to | |
test | |
keep_pipe: |+ | |
a demo to | |
test | |
strip_folded: >- | |
a demo to | |
test | |
clip_folded: > | |
a demo to | |
test | |
keep_folded: >+ | |
a demo to | |
test | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment