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

搜索预览区代码块高亮关键字 #11350

Open
allrobot opened this issue May 11, 2024 · 0 comments
Open

搜索预览区代码块高亮关键字 #11350

allrobot opened this issue May 11, 2024 · 0 comments

Comments

@allrobot
Copy link

allrobot commented May 11, 2024

Improve add highlighting to the subpage code snippet of the search bar.

In what scenarios do you need this feature?

SiYuan_E8lBjhYiKG

搜索的普通文本能高亮显示,但是代码片段中的文本无法高亮显示,而是整个代码片段进行高亮……

Describe the optimal solution

代码片段搜索到的内容进行高亮显示,而不是整个代码片段高亮

Describe the candidate solution

No response

Other information

编辑,需求和 #8332 一样,主要是搜索内容的高亮,就像 https://github.com/Misuzu2027/syplugin-document-search 插件那样:
Image
Image

@88250 88250 changed the title Improve add highlighting to the subpage code snippet of the search bar. 搜索预览区代码块高亮关键字 May 13, 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

1 participant