# Preview File

{% hint style="success" %}
*Check out the illustration to understand the preview file content inside a project.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FnwkXQ0XJiX6FRrUA5R6I%2FPreview%20File%20content.mp4?alt=media&token=71a00610-0041-48f2-9de5-be1169f0a68d>" %}
***Preview File Content***
{% endembed %}

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> A Repo Sync project contains all the files under the Repo folder. A Normal project contains only Data Science Notebook(.ipynb) files under the Repo folder.*
{% endhint %}

The user can preview the content saved under any file without activating the Project where it is saved.&#x20;

* Navigate to the ***Project List*** page.
* Select a deactivated ***Repo Sync Project*** from the list.
* Click on the ***View*** option to open the Project.  &#x20;

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FIIfrhHnitMUPNXbnZNxj%2Fimage.png?alt=media&#x26;token=5a903e94-f16d-48d6-adb6-bb07bdebaca3" alt=""><figcaption></figcaption></figure>

* The ***Workspace*** tab opens under the selected Repo Sync Project.
* Click on the ***Repo*** folder that is displayed under the Notebook tab.
* A list of available folders and files appears under the Repo.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2F7mBZZAGcrsFimh7zJadt%2Fimage.png?alt=media&#x26;token=4d99a2b5-ee65-4d8b-aeb7-6a805094c02d" alt=""><figcaption></figcaption></figure>

* Click on a file.
* The file content gets displayed.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FQh8paLHaJGVUVHy0Yykg%2Fimage.png?alt=media&#x26;token=b12d3115-4555-484d-a46e-e13046fdd324" alt=""><figcaption></figcaption></figure>

* Open a .ipynb file.
* The content of the file is displayed.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FaNReeLTJnzVAYEnLjjNy%2Fimage.png?alt=media&#x26;token=bc062b35-925e-4d6a-a466-fe8b1d8303db" alt=""><figcaption></figcaption></figure>

* Click the Add code or markdown cell.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FkKMVHPJqfGXjtuBkuNtX%2Fimage.png?alt=media&#x26;token=7ba1ebeb-4705-4f2d-9efe-d3880845493f" alt=""><figcaption></figcaption></figure>

* &#x20;The ***Activate Project*** window opens prompting the user to activate the selected Project.
* Click the ***Yes*** option from the confirmation window to activate the project. The user can choose the ***No*** option if there is no need for the project activation.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2F822FLzIFVC1loWu18a4x%2Fimage.png?alt=media&#x26;token=08b30046-d1cc-4c8b-9cc1-84cd3df48999" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Only Data Science Notebooks (.ipynb files) have Code, Markdown, and BDB Assist cells. The Data Science Noteboks content can be edited/ modified after activating the concerned project. The content of the other files remains in the preview category only for the activated projects as well.*
{% endhint %}
