Thanks Andrew, somehow I missed that.
highlight_string doesn't work on my system (just replaces spaces with  ðŸ˜‰ whereas highlight_file/show_source works fine. If I read the same file into a variable and pass that to highlight_string it doesn't work. Can anyone else confirm this or otherwise?