Custom Code linked to a text field of CMS OR a custom code field for CMS

As evoqued here Embedding Powerpoint from iSpringCloud with @Michael_Cumming

Being able to link a custom code box to a text field would be awesome to reference external documents, pdfs, powerpoints… and to use HTML5 bg videos with references from the database… and to place custom maps… and for many other things.

One possible way is to link it to a text field, but a real custom code field for CMS would be better as we would get the code colouring/highlighting and possible other options related to custom code.