I don't think this will be merged but I think we can achieve this with a theme component here cause its simply a client side change. It is a bit tricky cause we defer load highlight so we would have to teach the client that ... when it defer loads highlight it injects this.
So you mind doing a post asking about how to add custom highlighter on https://meta.discoruse.org I will assign this out to a member of our team?
Thanks for replying! I will ask how to add a custom highlighter, but I thought that, since you use highlight.js, then it's basically adding another language syntax support to highlight.js, which is what I did in that PR.
I follow, if it is merged it will be no problem at all we will update highlight.js and be done. Its just that looking at it I am not sure it will be merged, so I think you will need a discourse specific customisation.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.