Comments (2)
Fantastic library, I'm really enjoying the simplicity it brings to building an mdx-powered site with relational data.
Thank you.
It would be useful to add reading-time and wordCount parameters to the frontmatter.
I'm using reading-time
for a few sites and I agree this would definitely be useful.
Wondering what would the implementation look like.
- We don't need this for all mdx types.
- Make this configurable via
next-mdx.json
? - This adds a dependency on the reading-time package.
from next-mdx.
@bketelsen A quick update here. I've been working on a Table of Contents module and I think I have an idea how we can solve this with plugins.
I'll post here when I have a working prototype.
Thanks for your help. Really appreciate it.
from next-mdx.
Related Issues (9)
- Add support for next-mdx.config.js HOT 1
- Render inlineCode and code HOT 2
- Handling Next localization with next.config.js HOT 1
- Multiple slugs for the same document
- Filtering documents by relationship HOT 5
- Error with datetime in frontmatter: object` ("[object Date]") cannot be serialized as JSON HOT 1
- getMdxNode's context type is incompatible with nextjs's HOT 2
- rendering images in mdx posts HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-mdx.