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

Adds read time support #88

Closed
vagnerclementino-hotmart opened this issue Dec 22, 2024 · 0 comments · Fixed by #89
Closed

Adds read time support #88

vagnerclementino-hotmart opened this issue Dec 22, 2024 · 0 comments · Fixed by #89
Assignees
Labels
enhancement New feature or request

Comments

@vagnerclementino-hotmart
Copy link
Collaborator

Hello everyone,

I would like to suggest an improvement for our blog articles on GitHub. It
would be great if we could add a "reading time" property to each article. This
would give readers an estimate of how long it would take them to read the
entire article.

I believe this would be a useful feature for our readers as it would help them
plan their reading time and also give them an idea of the length of the article
before they start reading. It would also be beneficial for those who have
limited time and want to quickly browse through articles that they can finish
in a short amount of time.

Implementing this feature would also make our blog more user-friendly and
enhance the overall reading experience. It would also be a great addition for
those who prefer to read articles on their commute or during breaks.

I hope this suggestion will be considered and implemented in the near future.
Thank you for your time and consideration.

How to it

To add reading time to your Gatsby blog articles written in MDX format, you can
use the gatsby-remark-reading-time plugin. This plugin will calculate the
estimated reading time for each of your MDX files and make it available in your
GraphQL queries. Here's how you can implement it in your project:

npm install gatsby-remark-reading-time reading-time
@vagnerclementino-hotmart vagnerclementino-hotmart added the enhancement New feature or request label Dec 22, 2024
@vagnerclementino-hotmart vagnerclementino-hotmart linked a pull request Dec 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant