Tony Brix
Tony Brix
I don't think it is consistent. If you would like to create a PR to make it consistent we could get it in the next major version. 😁👍
Aaa far as I know it should work. Just out of curiosity does it work with v5.0.4?
Looks like this this is because of #815 @lukescott do you know how to fix this?
I am doing some digging and this seems like an issue that was fixed in typescript https://github.com/microsoft/TypeScript/issues/55629 So the solution would be to update your version of typescript.
This isn't something marked can do. This will need to be done on the server. You can link to *.md files now but the server will serve them as text...
This follows the [flanking rules](https://spec.commonmark.org/0.31.2/#left-flanking-delimiter-run) of CommonMark. If you don't want to follow CommonMark you will need to create a [custom extension](https://marked.js.org/using_pro#extensions).
Does https://cdn.jsdelivr.net/npm/marked-highlight/src/index.js work?
Looks like this is a known issue in PrismJS https://github.com/PrismJS/prism/issues/1400
If you would like to help @akilesh1706 with this they are working on it in PR #3784
The issue seems to be that `this.tokenizer.lexer = this;` is in the constructor and the tokenizer is shared between the two different instances of the lexer. So since you run...