You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It uses remarkPlugin, where wikiLinkClassName receives a string as a parameter, and hrefTemplate receives a function as a parameter. When executing with this option given, the hrefTemplate key itself will not be passed, so the default value will be used.
Is there any way to use this option?
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
hopoduck
changed the title
How can I pass a function to the option of remarkPlugins in nuxt.config.ts?
Cannot use function in option of remarkPlugins in nuxt.config.tsJan 30, 2024
Environment
Nuxt project info:
Reproduction
https://stackblitz.com/edit/github-khom7f?file=nuxt.config.ts
Describe the bug
This is my nuxt.config.ts content.
It uses remarkPlugin, where wikiLinkClassName receives a string as a parameter, and hrefTemplate receives a function as a parameter. When executing with this option given, the hrefTemplate key itself will not be passed, so the default value will be used.
Is there any way to use this option?
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: