Documentation Index
Fetch the complete documentation index at: https://docs.langdock.com/llms.txt
Use this file to discover all available pages before exploring further.
Canvas is now the Document Editor. Any Canvas files you created before are still accessible in their original chats.
Document Editor
The Document Editor opens as a panel alongside your chat, so you can write and iterate on documents without switching context. Use it when you want to draft a proposal, write a report, put together a project plan, or work on any longer piece you’ll refine and share. Documents are saved to your Library automatically, so they’re accessible across all your chats. You can open the Document Editor in three ways:- Type a prompt like “draft a proposal” or “create a report”. The editor opens automatically.
- Click Create document in the input bar and choose your format: Document, Word, or PDF.
- Open the Tools menu and select Create document.

Formatting
Edit your document directly in Langdock. Click anywhere to start typing, deleting, or rearranging content. To add structure to your document, type:/ anywhere to open the formatting menu. It’s organized into three groups: headings and text styles under Format, Lists, and insertable elements under Insert including tables, code blocks, and an auto-generated table of contents.

- Heading 1, Heading 2, Heading 3, Heading 4
- Bullet List and Numbered List
- Blockquote and Code Block
- Tables
- Table of contents
- Divider
Edit with AI
The Document Editor lets you collaborate with the AI in two distinct ways: You can make edits on specific text, or broader changes across the whole document. Select any text you would like to edit, and click the Edit with AI button that appears. This quotes your selection into the chat where you can type your instructions. The AI applies the change directly in the document.
Export your Document
When you’re ready to use your document outside Langdock, export it directly from the editor. Click the download icon in the top bar and choose your format:- Download Markdown
- Download Word
- Download PDF

Working with Code
You can also work with code directly from within the Document Editor, so you can build interactive tools without leaving Langdock. Use it to build interactive outputs like data dashboards, charts, visualizations, and small tools for your team. All of your generated code is automatically saved to your Library, so it’s accessible across all your chats. You can open the Document Editor in three ways:- Type a prompt like “build me a budget tracker” or “create a bar chart from this data”. Langdock automatically opens the editor for you.
- Click Create document in the input bar and describe what you want to build in your prompt.
- Open the Tools menu and select Create document.

Code and Preview
Once your code is generated, you work with it in two views. Toggle between them at the top of the panel. Code shows the full source file. You can read through it, edit it directly by clicking anywhere and typing, or ask the AI to make changes. Everything saves automatically.

Debugging with AI
The Document Editor lets you iterate on your code with the AI directly from the chat. Type your instructions in the chat to add a feature, change the styling, fix a bug, or rework the layout, and the AI applies the change directly to the file and saves a new version automatically.
Export your Code
When you’re ready to use your file outside Langdock, download it directly from the editor. Click the download icon in the top bar. The file downloads in its native format:.html, .jsx, or .tsx.
Version history
Every change is tracked automatically, for both documents and code files. Version history gives you a full record of every edit made to your file, whether by you or the AI, so nothing is ever lost. Click Version history in the top bar to open the version panel. Each version is timestamped and attributed to either you or the AI. Select any version to see exactly what changed. Click Restore version to make it the current document or file.
Save to external storage
Both documents and code files can be sent directly to your team’s storage without downloading and re-uploading them. Click the external storage button in the top bar. All three options are always visible. Click Connect next to any integration that isn’t set up yet:- Open in SharePoint
- Open in OneDrive
- Open in Google Drive

Library
Whether you are working with documents or with code, everything you create is saved to your Library automatically. Your Library is the central home for all your files across Langdock, so you can always find and continue working on them across different chats.