mirror of
https://github.com/revivalstack/ai-chat-exporter.git
synced 2026-07-10 00:12:07 +00:00
This release introduces support for Microsoft Copilot and includes significant improvements to the user interface and data export functionality. Copilot Support: Full support has been added for exporting chats from Microsoft Copilot. Improved JSON Export: The JSON export now mirrors the Markdown output by converting AI messages to Markdown. This provides a consistent data model across all export formats, making the JSON output more useful for programmatic consumption. Consistent UI Theme: The chat outline UI now maintains a consistent light theme, even when the host site is in dark mode. This resolves issues where the search box and scrollbar would adopt the dark theme on Gemini and ChatGPT, ensuring a reliable and legible user experience.
60 lines
3.2 KiB
HTML
60 lines
3.2 KiB
HTML
<div class="rounded-xl dark:border dark:border-stroke-250" style="opacity: 1">
|
|
<div
|
|
class="flex w-full items-center justify-between rounded-t-xl border-b border-white/20 bg-background-static-850 py-2 pe-2.5 ps-4 text-foreground-static-250 text-sm dark:border-stroke-250 dark:bg-background-static-900"
|
|
>
|
|
<span class="capitalize">bash</span
|
|
><button
|
|
class="relative min-h-9 min-w-9 gap-1.5 rounded-xl bg-transparent p-2 text-foreground-static-250 text-sm before:absolute before:inset-0 before:rounded-xl before:border before:border-transparent hover:bg-white/8 active:bg-white/5 active:fill-foreground-650 active:text-foreground-static-350 before:contrast-more:border-2"
|
|
type="button"
|
|
title="Copy code"
|
|
data-copy="false"
|
|
>
|
|
<div
|
|
class="flex items-center justify-center gap-2"
|
|
aria-hidden="true"
|
|
>
|
|
<svg
|
|
viewBox="0 0 21 20"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
class="w-5"
|
|
>
|
|
<mask
|
|
id="mask0_25413_62234"
|
|
maskUnits="userSpaceOnUse"
|
|
x="0"
|
|
y="0"
|
|
width="21"
|
|
height="20"
|
|
style="mask-type: alpha"
|
|
>
|
|
<path
|
|
d="M8.5 2C7.39543 2 6.5 2.89543 6.5 4V14C6.5 15.1046 7.39543 16 8.5 16H14.5C15.6046 16 16.5 15.1046 16.5 14V4C16.5 2.89543 15.6046 2 14.5 2H8.5ZM7.5 4C7.5 3.44772 7.94772 3 8.5 3H14.5C15.0523 3 15.5 3.44772 15.5 4V14C15.5 14.5523 15.0523 15 14.5 15H8.5C7.94772 15 7.5 14.5523 7.5 14V4ZM4.5 6.00001C4.5 5.25973 4.9022 4.61339 5.5 4.26758V14.5C5.5 15.8807 6.61929 17 8 17H14.2324C13.8866 17.5978 13.2403 18 12.5 18H8C6.067 18 4.5 16.433 4.5 14.5V6.00001Z"
|
|
fill="currentColor"
|
|
></path>
|
|
</mask>
|
|
<g mask="url(#mask0_25413_62234)">
|
|
<rect
|
|
width="24"
|
|
height="24"
|
|
transform="translate(-1.5 -2)"
|
|
fill="currentColor"
|
|
></rect>
|
|
</g>
|
|
</svg>
|
|
Copy
|
|
</div>
|
|
</button>
|
|
</div>
|
|
<div
|
|
class="rounded-b-xl bg-background-static-850 px-4 pb-1.5 dark:bg-background-static-900"
|
|
>
|
|
<div
|
|
class="horizontal-scrollbar overflow-x-auto whitespace-pre pb-3 pt-4 font-mono text-sm"
|
|
>
|
|
<pre><code class="text-sm font-ligatures-none"><span initial="start" animate="end" variants="[object Object]" custom="0.103"><span class="hljs-meta">#!/bin/bash</span></span><span initial="start" animate="end" variants="[object Object]" custom="0.121">
|
|
</span><span initial="start" animate="end" variants="[object Object]" custom="0.139"><span class="hljs-built_in">pwd</span></span><span initial="start" animate="end" variants="[object Object]" custom="0.139">
|
|
</span></code></pre>
|
|
</div>
|
|
</div>
|
|
</div>
|