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

# Content enhancements: Mermaid, formulas, and Markdown

> Render Mermaid diagrams and formulas, copy LaTeX or MathML source, format your own messages in Markdown, copy tables in one click, and export chats.

Ophel adds a layer of interactivity to AI chat pages: diagrams that some platforms leave as raw code get rendered automatically, formulas become copyable with a double-click, your own messages display Markdown formatting, and any chat can be exported in multiple formats.

## Mermaid diagram rendering

Some AI platforms display Mermaid code blocks as raw text instead of rendered diagrams. When Ophel detects an unrendered Mermaid block, it renders the diagram in place automatically.

**Settings → Features → Content → Assistant Mermaid Render** (default: off)

> [!NOTE]
>
> This only activates when the platform itself has not rendered the Mermaid
> block. It will not interfere with native diagram rendering.

## Formula rendering and source copy

When an AI reply contains math, Ophel recognizes LaTeX delimiters and renders the formulas inline. To copy the source from any supported rendered formula, double-click it — Ophel copies the selected source format to your clipboard immediately.

**Settings → Features → Content → Double-click to copy formula** (default: on)

### Formula copy format

Choose whether double-clicking a formula copies:

* **LaTeX source** — best for Markdown notes, TeX editors, Obsidian, Typora, and most AI prompts
* **MathML source** — best for accessibility workflows, web documents, and tools that preserve structured math markup

**Settings → Features → Content → Formula copy format** (default: LaTeX source)

> [!NOTE]
>
> Some sites expose only visual formula HTML and no stable source. In that case,
> Ophel shows a message instead of copying an unreliable result.

### LaTeX delimiters

When the copy format is **LaTeX source**, Ophel can add delimiters before placing the text on the clipboard:

* Inline formulas use `$ ... $`
* Block formulas use `$$ ... $$`

Enable **Settings → Features → Content → Add delimiter when copying** if the destination expects complete Markdown-style math snippets.

## User message Markdown rendering

Markdown syntax you type in the AI input box — `**bold**`, `` `code` ``, `- list item` — normally appears as plain text in your message bubble after sending. With this feature enabled, Ophel renders Markdown formatting inside your messages so they're easier to read.

**Settings → Features → Content → User Query Style Enhancement** (default: on)

## Markdown table copy

A **Copy** button appears on tables inside AI replies. Clicking it copies the table as standard Markdown table syntax, ready to paste into any Markdown editor.

**Settings → Features → Content → Table Copy Markdown** (default: on)

## Chat export

Export any chat from ![Toolbox icon](https://ophel.app/docs/images/icons/tools.svg) **Toolbox** → ![Export icon](https://ophel.app/docs/images/icons/export.svg) **Export**, the Outline toolbar, the Chats tab row menu, or the ![Keyboard icon](https://ophel.app/docs/images/icons/keyboard.svg) export shortcut. Every entry opens the **Export Chat** dialog, where you can pick ![Markdown file icon](https://ophel.app/docs/images/icons/markdown.svg) Markdown, HTML, ![JSON file icon](https://ophel.app/docs/images/icons/json-file.svg) JSON, ![TXT file icon](https://ophel.app/docs/images/icons/txt-file.svg) TXT, or copy the chat as Markdown straight to the clipboard.

> [!TIP]
>
> For the full export walkthrough — formats, zip package structure,
> per-platform asset handling, segmented export, and all export settings — see
> the dedicated [Export](https://ophel.app/docs/features/export.md) page.

## Platform-specific fixes

> [accordion] Markdown fix (Gemini, AI Studio, ChatGPT)
>
> These platforms sometimes fail to render bold text correctly — `**text**` appears as literal characters instead of formatted output. Ophel includes a patch for each affected platform.
>
> * **Settings → Site Settings → Gemini → Markdown Bold Fix**
> * **Settings → Site Settings → AI Studio → Markdown Bold Fix**
> * **Settings → Site Settings → ChatGPT → Markdown Bold Fix**

> [accordion] Watermark removal (Gemini, AI Studio)
>
> Gemini and AI Studio can attach "Created with Gemini" watermarks when exporting or screenshotting certain content. Enabling this removes those watermarks.
>
> This feature requires the optional `<all_urls>` permission (used to fetch images and convert them to base64). The browser will prompt for permission the first time you enable it.
>
> **Settings → Site Settings → Gemini → Remove Image Watermark**


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.