The Codebox has non-Typewriter font (not monospace); it rather looks like a font that is imitating handwritten text than the usual coding fonts.
There also is no font selection possibility (which would be a workaround for a code box anyway).
So in the end this code box is unusable for code (at least version 1.6.2 of cherrytree on Mac Tahoe 26.1).