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

文章目录每行末尾多了一个 # #29

Open
king-zhangbn opened this issue Dec 4, 2024 · 6 comments
Open

文章目录每行末尾多了一个 # #29

king-zhangbn opened this issue Dec 4, 2024 · 6 comments
Labels
invalid This doesn't seem right

Comments

@king-zhangbn
Copy link

bug1

我添加了@astrojs/markdoc这个组件(因为keystatic要用),但是导致了我的文章目录每行末尾多了一个#
然后我尝试删除了markdoc,换成mdx,但是还是存在末尾多了一个#

image
删除右边的#,目录又正常了??
image

@cworld1
Copy link
Owner

cworld1 commented Dec 4, 2024

image

这是新加功能,会尝试给每个标题添加'#'快速链接。我这边暂时没有问题,不太清楚你那里什么情况

@king-zhangbn
Copy link
Author

那应该是我的bug,close掉

@cworld1 cworld1 reopened this Dec 8, 2024
@cworld1
Copy link
Owner

cworld1 commented Dec 8, 2024

遇到了,md格式不受此影响,但是mdx格式的确有此问题。没找到问题在谁身上,还在排查中。

@cworld1 cworld1 changed the title 还有我又遇到了奇怪的bug,文章目录每行末尾多了一个# 文章目录每行末尾多了一个 # Dec 8, 2024
@cworld1 cworld1 added the bug Something isn't working label Dec 8, 2024
@cworld1 cworld1 linked a pull request Dec 8, 2024 that will close this issue
@cworld1
Copy link
Owner

cworld1 commented Dec 8, 2024

嗯...也不太对,似乎问题是astro那边。?我测试一下,有必要可能还得反馈上去

@cworld1
Copy link
Owner

cworld1 commented Dec 8, 2024

很怪,像是缓存问题。重装后正常。

@cworld1 cworld1 added invalid This doesn't seem right and removed bug Something isn't working labels Dec 8, 2024
@king-zhangbn
Copy link
Author

玄之又玄,众妙之门,很神奇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants