Currently, I’m using a plugin call
markdown-it-named-code-block to add title to a Code Block through a syntax like this:
But I’m running into a bit of issue as codemirror does not recognize the language so no highlighting, I think it is because of the additional text after ‘js’.
I hope anyone can provide me with guidance on this problem as I can not find a helpful answer in the docs
On a sidenote as I writing the code block above, it actually can recognize the language so I have to use \ to escape. That exactly what I want to achieve and I wonder how you guys can do that.
I wish you all to have a nice day and happy coding.