-
Notifications
You must be signed in to change notification settings - Fork 198
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
Bug: makeSource
args type not updated with new config options for 0.2.5 release
#243
Comments
Ah, as for #192 I see that in fact the Clarity may still be needed for this issue though on the |
@Saeris There are two issues on the website repo for better documenting markdown behavior:
Do you suspect properly completing those issues would solve this topic here? |
This topic is specifically about the types the library is shipping need to be updated. Currently you cannot use Read the section on MDX Processing in the page I linked above. You cannot use the code snippet there because it raises a type error. |
This should be addressed with the |
In the
0.2.5
release notes, for MDX, it's recommended to use a newmdxOptions
property, but thePartialArgs
type thatmakeSource
expects hasn't been updated for this as far as I can tell. Whereas with themarkdown
field, it was correctly updated to optionally support a builder callback function. Here's a link the relevant code:contentlayer/packages/@contentlayer/core/src/plugin.ts
Lines 125 to 132 in dcc4885
And the release notes where there is a mismatch: https://github.com/contentlayerdev/contentlayer/releases/tag/v0.2.5
Additionally, I'm unsure how this solves the problem I was aiming to resolve with #192
The text was updated successfully, but these errors were encountered: