Gist is a great way to share your work. You can share single, parts of files, or full applications. You can access gists at here.
Drag and Drop Gist block into your editor
Copy file's url in Gist page.
Paste the url and click on Embed Gist Block
Click publish post and done. Here is the result.