Wrap default doc in the appropriate <html> and <style> content.
Load the notes snapshot when opening a doc.