How can I export my content?

You can export your GitBook content:

  • in Markdown format by enabling GitHub or GitLab sync

  • as a PDF (you may encounter limits when exporting very large spaces)

How to export content in Markdown format

You cannot export pages as Markdown directly within the GitBook app, but you can use GitHub or GitLab sync to sync your space with a Git repository and generate a Markdown export this way.

You’ll need to synchronize the space containing the content you want to export with an empty repository. Read our documentation on setting up the GitHub or GitLab sync to get started.

Some custom blocks do not have a representation in Markdown, therefore they will appear as HTML in your export.

Last updated