> 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.

# Text Block

The Text Block enables you to add rich textual content to your design system documentation. This block supports various formatting options, allowing you to create detailed and informative text sections that enhance the overall content of your documentation.

### Accessing the floating menu

To access the floating menu, highlight a piece of text. The floating menu offers a variety of formatting options to enhance your text:

**Text Style**

Choose a style from the dropdown to apply to your text.

**Text Align**\
Align your text to the left, right, or center.

**Bold, Italic, Strikethrough, Underline**\
Apply these respective styles to your text.

**Block Quote**\
Apply block quote styling to emphasize a section of text.

**Code**\
Wrap the selected text in a code block for clear distinction.

**Add Link**\
Opens the "Edit Link" modal, allowing you to link to a document page or an external URL.

**Clear Formatting**\
Reset all applied formatting, returning the text to its default style.

![text-block.png](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/knapsack-docs.docs.buildwithfern.com/28000c0733ea03608c1beae8e3305046b2ff553cbdac8d7b3b3bccaaf90d0500/docs/assets/images/135c0af7-text-block-cp6lqzfgtepng.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260724T211434Z&X-Amz-Expires=604800&X-Amz-Signature=f2c20ecab76b0cb4d898844c5fb83b7b649e67c352a21a9d61d8a2166d5c5895&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)