-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Dynamic require of "markdown-it-anchor" is not supported #129
Comments
Moved to a discussion at #130 |
I've reopened it because I still have the same issue and I don't get an answer from the Discussion |
I've also encountered this issue and would appreciate any help. |
I ran into the same problem, the issue here is that Vite with Typescript does not support a
Then in
|
@DjilanoS thanks for the tip, I have it almost working. I have a multiple page app, so I don't use vue router. I managed to configure Do you happen to know how to configure it or how to define my own I have looked at the code of https://github.com/yankeeinlondon/link-builder/blob/main/src/link.ts which is used by Markdown plugin to generate the links, and https://github.com/valeriangalliat/markdown-it-anchor/blob/master/permalink.js which finally generates the permalink in markdown-it-anchor with no luck so far. Thanks again. |
Describe the bug
I'm following the instructions in the README and I'm having troubles with this part to enable the auto-create anchors for the H tags.
The output of the error is:
do I need to install anything else?
Thanks!
Reproduction
private
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: