你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/561042-ask-brave-chat-exporter,源站連結 點此以跳轉

Ask Brave Chat Exporter

Export Ask Brave conversations to Markdown and/or HTML



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/561042/Ask%20Brave%20Chat%20Exporter.user.js

安装此脚本?
作者
abdo2048
日安装量
0
总安装量
1
评分
0 0 0
版本
1.2.0
创建于
2026-01-01
更新于
2026-01-01
大小
50.8 KB
许可证
CC0-1.0
适用于


Ask Brave Chat Exporter main page
Ask Brave Chat Exporter

A browser userscript that exports Ask Brave AI conversations to Markdown and HTML formats with professional styling and enhanced features.

Screenshots

 

 

 

 

 

 

Usage

Basic Export

  1. Open any Brave Ask conversation (or start a new one)
  2. Click the Export button (bottom-right corner)
  3. Edit the title (optional)
  4. Select export format(s):
    • Markdown
    • HTML
    • Both (default)
  5. Click Download

Export Formats

Markdown (.md)

---
**Title:** Your Conversation Title
**Exported:** Monday 30-12-2025 , 01:55 PM

---
◤━━━━━━ Q1 ━━━━━◥
What are the most known coffee types?
◣━━━━━━ Q1 ━━━━━◢

The most known coffee types...

---

HTML (.html)

  • Standalone file with embedded CSS and JavaScript
  • Mobile-friendly and print-optimized
  • Dark mode automatically activates based on system preference

Technical Details

Dependencies

  • marked.js: Markdown to HTML conversion
  • Inter font: UI typography
  • JetBrains Mono: Code block typography ## Features

Core Functionality

  • Dual Format Export: Export conversations to both Markdown (.md) and HTML (.html) formats.
  • Custom Titles: Edit your conversation title before export.
  • Smart Formatting: Preserves questions, answers, code blocks, and formatting.

Markdown Export

  • Emoji dividers for visual question separation (◤━━━━━━ Q# ━━━━━◥)
  • Horizontal rules between Q&A pairs.
  • Metadata header with title and export date.

HTML Export

  • Professional Theme System

    • WCAG AA+ accessibility compliant.
    • Automatic dark mode support (respects system preference).
    • Fluid responsive typography.
    • Modern color palette (Slate + Indigo).
  • Interactive Features

    • Sticky sidebar table of contents with active section highlighting.
    • Mobile-responsive hamburger menu.
    • Copy buttons for all code blocks, tables and questions.
    • Smooth scroll navigation.
  • Typography

    • Inter font for body text and UI.
    • JetBrains Mono for code blocks.
    • Optimized font sizes and spacing.

How does it work?

  • The script clicks copy answer buttons in chat for user prompts and AI answers, then collect them into one Markdown file with some custom formatting, then uses Marked library to convert Markdown to HTML, then formatting the HTML with custom theme.

🛑 Notes

  • If you found something off, please open an issue on GitHub.
  • When reporting bugs, please include:
    • Browser name.
    • Example conversation share URL (if possible).
    • Console error messages if applicable (F12 → Console).

Roadmap

⚠️ The script now is in Phase 1, and I'm not sure if I'm going to add more features or make it better, but here's what I think the script will look like:

Phase 2

  • Share URL Integration: Include Brave Ask conversation share URL in exports by scraping or user input them manually in export menu.
  • Editable HTML Metadata: Allow editing title and URL directly in exported HTML files.
  • PDF Export: Optimized print-friendly PDF generation (sidebar removed, clean layout).

Phase 3

  • Resources Section: Append source (web results, videos, news, citations) at end of exported files.
  • Bulk Export: Export multiple conversations in one operation.
  • Configurable Export Options: Toggle what to include (TOC, metadata, resources, etc.)
  • Standalone Converter: Pre-built binary to convert any chat Markdown to HTML using this theme:
    • Works with any markdown file (not just Brave exports).
    • Offline operation, no dependencies.
    • Apply custom styling to existing markdown files.

Contributing, Suggestions or want to say hello

Feel free to submit issues or pull requests on GitHub