Tony Brix

Results 612 comments of Tony Brix
trafficstars

Maybe we could add a hook that can change the Lexer before it is used. ```js let links; processLexer(lexer) { lexer.tokens.links = links; return lexer; } processAllTokens(tokens) { links =...

Are you planning on updating the build script so these translations are viewable on https://marked.js.org?

I'm going to close this as stale. If you would like to continue working on it feel free to reopen it

I don't know if it would break anything. It is set like that to be closer to the [CommonMark spec](https://spec.commonmark.org/0.31.2/#example-141) where no lang mean there shouldn't be a class set....

The issue with your argument is that marked-highlight does not imply using highlight.js. marked-highlight is generic so the user can use whatever highlighting library they want. Other highlighting libraries highlight...

I did try to move the tokenizers to some sort of array but there were two problems. 1. Some tokenizers require a lot of extra logic that is not easy...

> Remaining comments: Ya, these 3 are in the TODOs section in this PRs description. I will work on them soon. > Also looking back, we had discussed a "before"...

After months of trying different things to see if there is a way this won't allow down marked I haven't been able to find one. The only thing I can...

Can you provide a minimal repo or a way for us to test this?

Seems like the browsers version does not support [array.at](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at) You can transpile marked with [babel](https://babeljs.io/) if you need to support old browsers