Ok, thank you. I might be misunderstanding the use case for that field type.
I tried using a text field, but it stripped the code. A text area field seems to save the code. But on the front end, I just get "no code found" and nothing shows up when I inspect.
Can you point me in the right direction? Links to some screenshots. Thank you!