> ## Documentation Index
> Fetch the complete documentation index at: https://ai-docs.atlasflux.my/llms.txt
> Use this file to discover all available pages before exploring further.

# Previews

> Code, file, and source previews inside the chat.

# Code, File & Source Previews

## HTML/CSS/JS Code Preview

When an assistant message contains HTML, CSS, or JavaScript code, a **Run** button appears. Clicking it opens a preview panel with a **toggle between Live Preview and Code view**. The live preview is safely sandboxed (navigation and form submissions are blocked). The code view shows syntax-highlighted source.

## File Previews

Attached files (PDF, images, documents) can be previewed directly in the chat by clicking on them. A sidebar opens showing the file content, with options to download or delete.

## Source Previews

When web search is used, a source summary appears below the AI response. Click it to open the [Sources panel](https://ai.atlasflux.my/docs#sources), which lists all web pages with favicons, titles, and URLs. Click any source to jump to its details.
