Beaker notebook [1] seems to do precisely that, though I have yet to use it in practice.<p>[1] <a href="http:&#x2F;&#x2F;beakernotebook.com&#x2F;index" rel="nofollow">http:&#x2F;&#x2F;beakernotebook.com&#x2F;index</a>