Can I export the contents of Google Chrome's DOM inspector?

Solution 1:

If you click on a node and press Ctrl+C, you get that node (and all child nodes recursively) copied to the clipboard.

To get everything, simply use this feature on the top-most node (the <html> element. This nodes encompasses nearly everything, the only thing this misses is the <!DOCTYPE> element, which you can copy separately.