# Leave a comment

Signed-in users with a CMS role can comment on every page of this site. The comments are in the `content` Database, a D1 database next to the CMS history. Users and sessions are in the `users` Database.

### Turn on comments

Open the pill and select **Comments**. The pill gets the **Comment** and **Edit** modes, and a window lists the open threads of the page.

### Pin a comment

Select **Comment** in the pill, or press `C`, and select a part of the page, such as a heading or a code block. Write the comment and press `Ctrl+Enter` (`⌘ Enter` on a Mac). Other editors see the pin on the same element.

### Resolve it

Open the thread and select **Resolve**. The Comments section of the Console, at [`/_vitehub/comments`](https://docs-demo.vitehub.dev/_vitehub/comments), lists every thread, open and resolved.

> **Tip**

An agent with the Console MCP server reads the open comments with `comments_list_threads` and answers them with `comments_reply`. Ask it: "Read the open comments on /docs/guides/ci and fix them."

<!-- vitehub-docs:section-links -->
## In this section

- [Overview](https://docs-demo.vitehub.dev/raw/docs/this-site.md)
- [The Console and the pill](https://docs-demo.vitehub.dev/raw/docs/this-site/console.md)
- [Edit and publish a page](https://docs-demo.vitehub.dev/raw/docs/this-site/edit-and-publish.md)
- [Leave a comment](https://docs-demo.vitehub.dev/raw/docs/this-site/comments.md) (this page)
- [Connect your agent](https://docs-demo.vitehub.dev/raw/docs/this-site/connect-your-agent.md)
- [The docs assistant](https://docs-demo.vitehub.dev/raw/docs/this-site/assistant.md)

Next: [Connect your agent](https://docs-demo.vitehub.dev/raw/docs/this-site/connect-your-agent.md)

All pages: [llms.txt](https://docs-demo.vitehub.dev/llms.txt)
