Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代码块语言选择列表,应添加已使用的代码风格 #11507

Open
allrobot opened this issue May 22, 2024 · 1 comment
Open

代码块语言选择列表,应添加已使用的代码风格 #11507

allrobot opened this issue May 22, 2024 · 1 comment

Comments

@allrobot
Copy link

allrobot commented May 22, 2024

In what scenarios do you need this feature?

  1. 每次ctrl+k代码都能生成一个最近使用的代码块,但写文档经常写Python代码,下面跟着Shell代码块,新建一个代码块就不停敲python和shell,累人
    代码列表应分为两部分,上面是最近使用的代码语言,占比例20%,下面是所有的代码语言,占比例80%
    image

  2. 代码自带的高亮元素缺乏,例如Shell一律灰黑色的;例如Python的高亮,参数调用没啥颜色
    上图是Pycharm,下图是siyuan

VS Code有不错的高亮插件,可以参考一下

Describe the optimal solution

Describe the candidate solution

No response

Other information

No response

@TCOTC
Copy link
Contributor

TCOTC commented May 22, 2024

确实,增加一个 最近使用 区域的话会方便很多

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants