The GitHub logo
The GitHub logo

GitHub Files

By GitBook

View GitHub files or permalinks into code blocks

View GitHub files or permalinks and display them in codeblocks in GitBook
View GitHub files or permalinks and display them in codeblocks in GitBook

Overview

The GitHub Files integration allows you to take a link to a GitHub file or a permalink to lines of code and display them into code blocks in GitBook.

How it works

After installing the GitHub Files integration, you're able to insert it into a GitBook file in the (CMD + /) menu.

Insert the integration, paste your link, and the integration will display the code in a formatted code block.

Configure

In order to view code from private repositories, you'll need to authorize with your GitHub Account in the integration's configuration page.

Get started for free

Play around with GitBook and set up your docs for free. Add your team and pay when you’re ready.

Trusted by leading technical product teams

The NVIDIA logo
The Carta logo
The Ericsson logo
The Cisco logo
The Fedex logo
The Zoom logo
  • The Braze logo
  • The Bucket logo
  • The Cortex logo
  • The Count logo
  • The Digibee logo
  • The Gravitee logo
  • The Hebbia logo
  • The HockeyStack logo
  • The Ideogram logo
  • The JAM logo
  • The Make logo
  • The Material logo
  • The Multiplier logo
  • The Nightfall AI logo
  • The Onum logo
  • The Photoroom logo
  • The Pylon logo
  • The Relay.app logo
  • The Rox logo
  • The ScraperAPI logo
  • The Seam logo
  • The Sendbird logo
  • The Sola logo
  • The Synk logo
  • The Tabnine logo
  • The ZenML logo

Get started for free

Play around with GitBook and set up your docs for free. Add your team and pay when you’re ready.

Trusted by leading technical product teams

The NVIDIA logo
The Carta logo
The Ericsson logo
The Cisco logo
The Fedex logo
The Zoom logo
  • The Braze logo
  • The Bucket logo
  • The Cortex logo
  • The Count logo
  • The Digibee logo
  • The Gravitee logo
  • The Hebbia logo
  • The HockeyStack logo
  • The Ideogram logo
  • The JAM logo
  • The Make logo
  • The Material logo
  • The Multiplier logo
  • The Nightfall AI logo
  • The Onum logo
  • The Photoroom logo
  • The Pylon logo
  • The Relay.app logo
  • The Rox logo
  • The ScraperAPI logo
  • The Seam logo
  • The Sendbird logo
  • The Sola logo
  • The Synk logo
  • The Tabnine logo
  • The ZenML logo

Get started for free

Play around with GitBook and set up your docs for free. Add your team and pay when you’re ready.

Trusted by leading technical product teams

The NVIDIA logo
The Carta logo
The Ericsson logo
The Cisco logo
The Fedex logo
The Zoom logo
  • The Braze logo
  • The Bucket logo
  • The Cortex logo
  • The Count logo
  • The Digibee logo
  • The Gravitee logo
  • The Hebbia logo
  • The HockeyStack logo
  • The Ideogram logo
  • The JAM logo
  • The Make logo
  • The Material logo
  • The Multiplier logo
  • The Nightfall AI logo
  • The Onum logo
  • The Photoroom logo
  • The Pylon logo
  • The Relay.app logo
  • The Rox logo
  • The ScraperAPI logo
  • The Seam logo
  • The Sendbird logo
  • The Sola logo
  • The Synk logo
  • The Tabnine logo
  • The ZenML logo