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

refactor: deprecate MarkdownSectionWrapper, use SFC layout. #424

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

Dustella
Copy link
Contributor

首先,感谢 @Cryolitia 提出的问题。

做了两件事情。

  • themeConfig 中,使用 SFC Layout 而不是渲染函数。
  • 抛弃 MarkdownSectionWrapper 。在 md 前后的插入内容现在由 doc-before doc-after 主题插槽实现。样式和原来保持一致。

@BeiyanYunyi BeiyanYunyi merged commit eca59fa into project-trans:main Sep 19, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants