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

vitepress-plugin-announcement 插件 #322

Open
Aurorxa opened this issue Dec 26, 2024 · 1 comment
Open

vitepress-plugin-announcement 插件 #322

Aurorxa opened this issue Dec 26, 2024 · 1 comment
Labels
feature 新功能

Comments

@Aurorxa
Copy link

Aurorxa commented Dec 26, 2024

老哥,对于 vitepress-plugin-announcement 插件的中的配置,如下所示:

export const announcement: AnnouncementOptions = {
  title: '更新公告',
  body: [
    { type: 'text', content: 'C 语言高级 --> 文件操作' },
  ],
  footer: [
  ],
  twinkle: true,
  reopen: true
}

content 只能是文本,太单调了,希望可以支持 markdown 语法,这样我们可以配置 ![xxx](url) ,更方便点

@ATQQ
Copy link
Owner

ATQQ commented Dec 26, 2024

这个建议挺好的👌🏻

@ATQQ ATQQ added the feature 新功能 label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新功能
Projects
None yet
Development

No branches or pull requests

2 participants