Embed your GIST code in your WordPress blog post without using any plugins
Briefly

The article explains how to easily embed Gist code in WordPress posts by modifying the functions.php file, allowing for better readability without extra plugins.
To implement this, log in to WP_admin, navigate to Appearance > Editor, and select the current theme to paste the provided code in functions.php.
Once the code snippet is added, embed Gist URLs in posts by omitting the username; for example, transforming https://gist.github.com/asvignesh/61b7f687f249a61e3117 into https://gist.github.com/61b7f687f249a61e3117.
For embedding a specific file within a Gist, use the file query string format: https://gist.github.com/56654ec2130b5271f97a?file=MyClass.java.
Read at Medium
[
|
]