Add conventions to interactive docs.

Interactive docs wasn't following the conventions for repl interaction. This patch fixes that.

The last example is less clear once we drop the prompt because it deals with namespaces. Not sure what the ideal way to handle that is.