# GitBook

## About

**Site**: [gitbook.com](https://www.gitbook.com/)&#x20;

**Docs:** [docs.gitbook.com](https://docs.gitbook.com)

**Sample:** [manual.makerdao.com](https://manual.makerdao.com)

**Support:** <support@gitbook.com>

## Features

#### **Editor**

* What you see is what you get ([WYSIWYG](https://en.wikipedia.org/wiki/WYSIWYG)) editor for Markdown
* Light/dark mode
  * [Personal account settings > How to access your personal account settings > Account settings > Preferences](https://docs.gitbook.com/billing-and-admin/account-settings#preferences)
  * Toggle: `cmd` + `k` > Type *Switch to* \[*dark/light*] *mode.*

#### **Collaboration**

* [Member management](https://docs.gitbook.com/tour/member-management)

#### **Version control systems (VCS)**

* GitBook platform versioning
  * [Version control](https://docs.gitbook.com/tour/activity-history)
* [Git Sync](https://docs.gitbook.com/getting-started/git-sync)
  * Two-way syncing updates
    * GitBook to GitLab/GitHub repository
    * GitLab/GitHub repository to GitBook

#### **Publish**

* Custom readable links by default
  * \[space-name].gitbook.io/\[page-name]
  * e.g. [open-guides.gitbook.io/gitbook](https://open-guides.gitbook.io/gitbook)
* Custom domains
  * [Set a custom domain](https://docs.gitbook.com/advanced-guides/custom-domain)
* Layouts
  * Right menu (Overflow button "⬇️" if hidden in the top-right of the menu) >  *Page Layout*
    * Docs page: "A standard page, with table of contents and an outline."
    * Editorial post: "No table of contents, but visible page outline. Great for blogs!"
    * Landing page: "A full-width page, with no table of contents and no outline."

<figure><img src="https://289996137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyxFUb2Ge2QSbpU2wVvtn%2Fuploads%2F5AcLqVJ751vcJekhIKY5%2FPage%20Layout.png?alt=media&#x26;token=c1a03536-67c7-464d-a151-419b67c7c7e7" alt=""><figcaption><p>Page Layout</p></figcaption></figure>

* Static light/dark mode
  * Menu bar (Top when in non-edit mode) > *Customize > Theme mode*
  * *See* [*Space Customization > General > Theme mode*](https://docs.gitbook.com/tour/customization/space-customization#theme-mode)

#### Security

* Data is encrypted in transit and once in storage on Google Cloud.
* *See* [*Security FAQ > Is customer data encrypted?*](https://policies.gitbook.com/privacy-and-security/security/security-faq#is-customer-data-encrypted)

## Opportunities <a href="#docs-internal-guid-f4da3803-7fff-94e2-0b27-19f19a87ef6a" id="docs-internal-guid-f4da3803-7fff-94e2-0b27-19f19a87ef6a"></a>

### Editor

**Buggy (P0)**

* Cursor can lag.
* Sometimes errors copy and pasting.

**Slight delay to publish (P1)**

* Slightly slower to publish than Notion and HackMD which show updates to the current version in view mode instantly.

### Publish

**Copy and paste text (P0)**

* Issues highlighting, copying, and pasting the published text including lists and links
* [Sample video 2023-02-14](https://www.loom.com/share/ffed9e22b92f49b3b5ad1cc8799056fb)
* Cannot copy and paste lists.
* Copying and pasting text with links technically works, but appears to the user that it is not highlighting the full text.
* This makes it hard for the reader to interact with the content.
* Browsers
  * Chrome: Not as bad. Missing some body content
  * Firefox: Missing lists and links.

**Second-level unordered lists not formatting correctly (P0)**

* This first-level bullet is formatted correctly.
  * This second-level bullet is not formatted correctly.
* [Sample video 2023-02-14](https://www.loom.com/share/4ec387c0064b4b9fad6539a34b31817b)
* This can be confusing to the reader and appear to be a typo.

**H4 headers are not available (P0)**

* Useful as a replacement for bold text to use a header link in order to deep-link into.

**Table of contents (ToC) viewable in different screen sizes (P1)**

* The ToC is only displayed when the window takes up the full screen.
* This make it hard for the reader to navigate longer or complex content.
* Not as dynamic as HackMD’s navigation button for narrow screen views.

**Global navigation menu is not dynamic when the table of contents (ToC) are showing (P1)**

* It's useful to have both a ToC and navigation menu.
  * ToC helps quickly navigate within the current page.
  * Navigation menu helps move between related topics.
* [Sample video 2023-02-14](https://www.loom.com/share/9137f76d0d82483d859f3fc2a54d06ff)
* The menu should be dynamic based on the screen size and be manually collapsible (Similar to HackMD's UX).

**Mobile app for reading and editing (P1)**

**Publish view light/dark mode (P2)**

* Based on system settings
* Manual toggle for the user

### **Version control systems (VCS)**

**Radical integration (P2)**

* Site: [radicle.xyz](https://radicle.xyz)

### Hosting

**Deploy to Arweave and IPFS (P2)**

## Research

### **Security**

* [ ] &#x20;**Multi-factor authentication (MFA) (P0)**
  * [ ] Only through third-parties: Google and GitHub
  * [ ] Workaround: Use a secure email as login without setting a password. e.g. [Skiff](https://www.skiff.com/mail) or [Proton Mail](https://mail.proton.me/)
* [ ] **Offline backups and self-hosting (P0)**
  * [ ] All .md files and directories
  * [ ] Backup workaround: Commit to GitLab/GitHub > Download all files and directories.
  * [ ] Self-hosting backup: GitLab/GitHub automation for auto-push hosting to Arweave or IPFS

### UX

* [ ] **Remove and/or minimize the left navigation menu (P1)**
  * [ ] Workaround: Potentially customize in .md file on GitHub and sync with GitBook.
* [ ] **Remove "Powered by GitBook" with paid version (P1)**

*This is not technical advice. Always read the official documentation and do your own research.*
