Add generating HTML previews.