Format docs to be embeddable.