From e5779ff05cb14420fe2c45727dc10a7b736c951c Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 6 May 2025 10:43:03 +0200 Subject: [PATCH] update markdown test message --- .../quickshell/modules/sidebarLeft/AiChat.qml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/modules/sidebarLeft/AiChat.qml b/.config/quickshell/modules/sidebarLeft/AiChat.qml index 59d2e9c41..8355f1611 100644 --- a/.config/quickshell/modules/sidebarLeft/AiChat.qml +++ b/.config/quickshell/modules/sidebarLeft/AiChat.qml @@ -77,9 +77,23 @@ Item { }, { name: "test", - description: qsTr("Markdown test message"), + description: qsTr("Markdown test"), execute: () => { - Ai.addMessage("## ✏️ Markdown test\n- **Bold**, *Italic*, `Monospace`, [Link](https://example.com)\n", Ai.interfaceRole); + Ai.addMessage("## ✏️ Markdown test\n" + + "- **Bold**, *Italic*, `Monospace`, [Link](https://example.com)\n\n" + + "- Table:\n\n" + + "| | Quickshell | AGS/Astal |\n" + + "|:-----------|:----------:|:---------:|\n" + + "| UI Toolkit | Qt | Gtk3/Gtk4 |\n" + + "| Language | QML | Js/Ts/Lua |\n" + + "| Reactivity | Implied | Needs declaration |\n" + + "| Widget placement | Mildly difficult | More intuitive |\n" + + "| Bluetooth & Wifi support | ❌ | ✅ |\n" + + "| No-delay keybinds
(hyprland_global_shortcuts_v1) | ✅ | ❌ |\n" + + "| Development | New APIs | New syntax |\n" + + "- Code block" + + , Ai.interfaceRole); } }, ]