> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.knapsack.cloud/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.knapsack.cloud/_mcp/server.

# Table of Contents Controls

## Overview

Knapsack provides a Table of Contents (ToC) block to help users navigate through content. While it is useful, we understand that there may be instances when you'd prefer to hide it, either on a specific page or globally. This documentation will guide you through the process of controlling the visibility of the ToC block.

* **You must be logged in**: Before making any adjustments, ensure you're logged in to Knapsack.
* **You must be in "edit mode"**: You can only modify the visibility settings of the ToC block while editing a branch. Remember, once the branch is merged, these settings will be applied.
* **Best Practice Tip**: Given that merging a branch will finalize these changes, it's recommended to handle these adjustments on a dedicated branch. This ensures that only intentional modifications are merged.

### Page-Level Settings: Hiding the ToC on a Specific Page or Pattern

If you want to hide the ToC block for a particular page or pattern, follow these steps:

1. Navigate to the desired page or pattern.
2. Locate the settings control in the top right corner of the page.
3. Select the option "Hide Table of Contents".

![](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/knapsack-docs.docs.buildwithfern.com/2c8d987425bbc3d724c46e96106a43a5e27fb2395cb6b8fe30344fd465d8481d/docs/assets/images/9b6739a6-file-FtbVVPO7cO.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260725%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260725T233758Z&X-Amz-Expires=604800&X-Amz-Signature=714f7d669177cc2bdd8481ebf09e3774933c299c4a3ed14e96be73db7fcf475a&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

*Note: This change is localized to the current page or pattern.*

### Global Settings: Hiding the ToC Across the Entire Application

If you want the ToC block hidden throughout the entire Knapsack platform:

1. Access the workspace settings.
2. Opt for the "Page" settings section.
3. There, choose the option to hide the ToC block universally.

![](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/knapsack-docs.docs.buildwithfern.com/f7f0af8c7a1d17f684f51753ac8ef1cf335e952d2eb5ef5fbb4953e863fe78b6/docs/assets/images/49700239-file-CwP8vcTxIN.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260725%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260725T233758Z&X-Amz-Expires=604800&X-Amz-Signature=c20d1d563a97f6d5c6c91d845a3723e36bdb37bc6600e03fed61e28e0738469f&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

With the tools Knapsack provides, you're in full control of the visibility of the Table of Contents block. Customize as you see fit to optimize your user experience!