Support transforms after the highlight
I like the transforms hook this plugin exposes, but I need something after the code generation. My use case is that I want to add line numbers to the generated code–a feature that Highlight.js doesn't have.
From memory you can add line numbers using css, perhaps that would work even better?
I don't think this is possible, because Highlight.js doesn't split lines in separate elements for us to match in CSS. I tried CSS counters too :)
Hello, is now possible to add line numbers? Thanks for answer. edit (after 1 hour): I started implementing it in javascript in client side (-;
I also need a post-transform hook for some advanced post-formatting. Is it possible to implement something like postTransforms config? It looks really easy to do, I even have a draft working.