Skype chat escaped, highlight, indented code
I use New Bing chatbot for searching, but when it provides code, there are issues with unescaped, unhighlighted, and unindented text.
Therefore, I wrote a script to solve these issues.
Highlighting is handled using highlight.js, although there may be some syntax detection errors, it does not have a significant impact on the overall output.
Indenting is handled using a parser, but it is limited to certain web-based languages that can be correctly indented.