I’m finding this ability to embed prettified source code a google site gadget or iframe really useful. The other day I added the ability to get and publish source code directly from a url (in addition to gists, google apps script source, scriptdb etc), and since it all uses the same google apps script module, you can of course select individual functions from with an html or js source file.
For example, this shows only the code for the function ‘butGetHref‘ from the the maze of html and javascript in the url given
https://storage.googleapis.com/toasty/p/gaspubcontainer.html?module=https://storage.googleapis.com/toasty/b/but.html&func=butGetHref&source=web
and gives this,
The GAS module that does this actually uses Google Caching as well, so that’s probably a good thing too. For more details see the Excel Liberation site.