Medium doesn't work really well with code syntax. What I would suggest to you is to create an account on Github (or you can use the Frontend Account on Github since it's not attached to any specific user) add your code in a gist (since there's no code attached to the company business, of course).
You can add the link from your gist with the code in your post and Medium will organize irt properly, adding a link from the code and adding code highlight on that.As an example, look at this post on medium. https://medium.com/@willmendesneto/angular-and-open-source-automation-improvements-in-your-project-using-circle-ci-c8175e21ba0a