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
On https://marked.js.org/using_pro#use it's being said I can use marked.use(myExtension, extension2, extension3); to load my custom extension but this doesn't work.
The first version does not work but there's also no error message. Just nothing happens which is bad because you start guessing around why nothing happens and why your extension is not being used.
The text was updated successfully, but these errors were encountered:
A marked extension can have multiple custom extensions, tokenizer extensions, and renderer extensions. Yes this is necessary mostly for legacy reasons. It would be great to clean it up but there will be many extensions that would break.
On https://marked.js.org/using_pro#use it's being said I can use
marked.use(myExtension, extension2, extension3);
to load my custom extension but this doesn't work.On https://marked.js.org/using_pro#extensions you learn that you actually have to use
marked.use({ extensions: [description] });
with the keyextensions
.The first version does not work but there's also no error message. Just nothing happens which is bad because you start guessing around why nothing happens and why your extension is not being used.
The text was updated successfully, but these errors were encountered: