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

feat: add read time and word count #141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Dustella
Copy link

This patch added support for word count and read time, but due to lack of configuration provided by PJTS Theme, the transformPageData() part is reimplemented.

Furthermore, this patch requires customized transfromPageData(). I hope PJTS Theme can provide config to override that.

Please be kindly noticed that THIS PATCH INCLUDES DIRTY HACKS. It is recommended to update upstream PJTS Theme, and refactor this part later.

@Dustella Dustella requested a review from a team as a code owner October 26, 2024 16:49
@Dustella Dustella requested a review from Leetfs October 27, 2024 04:16
Copy link
Member

@Leetfs Leetfs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

上游主题已经支持了(挠头

project-trans/vitepress-theme-project-trans@30fa407

@Dustella
Copy link
Author

Dustella commented Oct 27, 2024 via email

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