Though that's useful, that doesn't seem to be the same thing. The OP was asking for a way to have code embedded in the docs, and still be treated as code. What you're talking about seems to be a way to access the docs as data from within code. Now, you might be able to get there from here (read the docs, parse out the code, and run eval), but at the very best that's ugly.