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
Ah yeah I meant styleOfPermalink as a placeholder for any of the permalink methods documented below, but that's not necessarily obvious.
I modified the example to have anchor.permalink[styleOfPermalink](permalinkOpts) to make it more clear that it's a variable, and I added a paragraph below saying it needs to be one of the styles documented afterwards.
The documentation here:
https://github.com/valeriangalliat/markdown-it-anchor/#permalinks
Says that you can do this:
But this throws an error. Is
styleOfPermalink
not an actual method we can invoke? If not, what is the correct syntax?Thanks!
The text was updated successfully, but these errors were encountered: