Adding first version of the code snippet widget