Code Snippet Search / IDE Integration

This plugin idea would be to add the ability to search code snippets and potentially convert this to a format that can be indexed in IDEs. An example of this might be the following:

// Python.md

Create a palindrome

def isPalindrome(s): 
    return s == s[::-1] 

Allowing me to search “python palindrome” to immediately copy this to my clipboard.