Importing notebook into framework with visible code

I’ve been able to fetch the function code with a custom Inspector and it is not transpiled in any noticeable way; the problem is that there is no syntax highlighting when I display it in the dom. Will a ```js echo block fix this? I’ve tried adding syntax highlighting via a js lib like prism but when I link that css in my framework config file, it overrides the framework css and the rest of the page looks awful…