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

锚点链接被渲染后页面会多增加一个 # #180

Open
zhenlei520 opened this issue Apr 24, 2023 · 6 comments
Open

锚点链接被渲染后页面会多增加一个 # #180

zhenlei520 opened this issue Apr 24, 2023 · 6 comments
Assignees
Labels
framework masa framework

Comments

@zhenlei520
Copy link
Contributor

Description

使用多级缓存的时候需要注意:当内存中的缓存数据很多也很大的时候,可能会导致内存超负荷,这个时候我们推荐使用缓存滑动过期

image

目前渲染后的效果是上图,期望效果是与普通链接一致,不要增加多余文字

Expect

image

@zhenlei520 zhenlei520 added the framework masa framework label Apr 24, 2023
@capdiem
Copy link
Contributor

capdiem commented Apr 26, 2023

@zhenlei520 锚点链接默认会加个#的图标。

@zhenlei520
Copy link
Contributor Author

@zhenlei520 锚点链接默认会加个#的图标。

这个有些丑陋,有好的办法隐藏掉吗?

@capdiem
Copy link
Contributor

capdiem commented Apr 26, 2023

@zhenlei520 要么就把锚点的图标删掉,下面这种就会受影响。
image

@zhenlei520
Copy link
Contributor Author

@zhenlei520 要么就把锚点的图标删掉,下面这种就会受影响。 image

可以接收隐藏锚点图标

@capdiem
Copy link
Contributor

capdiem commented Apr 27, 2023

@zhenlei520 [name](url) 语法不太好加选项隐藏。如果滑动过期后面加个句号会不会好看点?

@zhenlei520
Copy link
Contributor Author

image

还是比较丑陋,再想想办法?

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

No branches or pull requests

2 participants