[FIX] Writing out demo path as HTML attribute.

This allows for smarter folding of examples.