Thread:Theshehulkproject/@comment-67.180.30.101-20171112063826/@comment-26007095-20171112141456

Found some code that seems to do the trick.

Just like so, and it works with colour codes as well.

Edit: Seems to work well in testing, though the NPC grey barely shows up against the wiki background so a slightly darker shade might be better there.