DEV Community

Discussion on: Quick notes to use the serverless framework to deploy a Node project on AWS

Collapse
rounakcodes profile image
rounakcodes Author • Edited

If anyone can tell me how to insert yaml in a dev.to article, I will replace the images. Using code blocks in markdown for yaml code removed indentation.

Collapse
tastefulelk profile image
Sebastian Bille • Edited

You should be able to do triple backticks followed by "yml" to inline markdown code!

''' yml
yaml code here
'''
But replace ' with ` gives ⬇️

yml
resources:
Resources:

Collapse
rounakcodes profile image
rounakcodes Author • Edited

Thanks for the reply @tastefulelk . This is how I used it: dev-to-uploads.s3.amazonaws.com/up...

However, the solution did not work. The indentation is not respected.