XML/JSON/HTML Prettyprint Option

I’d love to see a plugin to allow for code blocks or whole notes to be pretty-printed and have language highlighting. I know there’s an editor syntax highlighter plugin but being able to grab a selection of text and assort the code into a nice tree view would be great. Notepad ++ had a plugin that did something similar but I’d prefer to use Obsidian for technical note taking and code snippets. codebeautify.org’s XML and JSON viewers beautify option is a good example