In this short tutorial, you will learn how to embed Github Gist code snippets into your WordPress site.
Github Gist Introduction
GithHub Gist is one of the most popular ways to share code snippets across internet. You can create a gist for your chunk of codes and share it to anyone you like.

Embed into WordPress
Search and add Custom HTML block into your WordPress post.

Copy the embed script of your created Github Gist, and then paste it into the Custom HTML block.

You also can preview the embedded code by clicking Preview:

Summary
In this short tutorial, you have learned how to embed Github Gist code snippets into your WordPress site.
The final outcome of the above demo is: