Extract document in a partial
Draft for convert and download with pandoc

TODO Extract some logic in a model concern.