cursor icon indicating copy to clipboard operation
cursor copied to clipboard

AI chat not support render markdown table

Open lfire opened this issue 1 year ago • 1 comments

  1. If you can, please include a screenshot of your problem image

  2. Please include the name of your operating system MAC

  3. If you can, steps to reproduce are super helpful @WeChat Mini Program @Web 如何实现小程序跳转到微信视频号某指定视频,和跳转到微信视频号主页的功能,需要调用到小程序哪些API,以及相关的传参是什么

@WeChat Mini Program is a doc, url is https://developers.weixin.qq.com/miniprogram/dev/framework/

lfire avatar Sep 13 '24 00:09 lfire

yeah thats a real problem

Am0stafa avatar Sep 13 '24 20:09 Am0stafa

@truell20

tjx666 avatar Nov 10 '24 09:11 tjx666

Still an issue:

Version: 0.49.6 (user setup) VSCode Version: 1.96.2 Commit: 0781e811de386a0c5bcb07ceb259df8ff8246a50 Date: 2025-04-25T04:49:20.797Z Electron: 34.3.4 Chromium: 132.0.6834.210 Node.js: 20.18.3 V8: 13.2.152.41-electron.0 OS: Windows_NT x64 10.0.26100

Image

jimmy927 avatar Apr 29 '25 11:04 jimmy927

Put this into your rules for now:

## Formatting rules - This is about how you should format your responses.

# Be aware that the cursor chat you are in cant render markdown correctly.
# IMPORTANT: Tables need to be rendered in plain text and not markdown

Exmaple rendering of a table:

When rendering tables, do not use markdown table syntax or plain text alone. Instead, place the entire table inside a code/text block (using triple backticks). This ensures the table formatting is preserved and readable in the chat interface.
Example:

+----+------------+-----------+
| ID | Name       | Role      |
+----+------------+-----------+
| 1  | Alice      | Admin     |
| 2  | Bob        | User      |
| 3  | Charlie    | Moderator |
+----+------------+-----------+

Image

jimmy927 avatar Apr 29 '25 12:04 jimmy927