Searchable Source Code in WordPress

I embed source code in blog posts using GitHub Gists. Gists provide provide many benefits, including a live view of the code (update code in Gist, code is updated in blog post), syntax highlighting, line numbers (useful if readers have questions or comments about the code), scroll bars, and links to access source code in GitHub repository or the raw plaintext code. One problem that occurs when embedding source code via Gists is the code is not indexed by the WordPress search engine. Therefore, searching for a class name or namespace will not find all blog posts that reference the […]