Hello Michael,
did you get any developer training? This question (and the other one for the pdf upload) sounds like you didn't get any basic developer training for FirstSpirit.
The solution for this question would either be a generic table template [to create a html table] or a special template for the input of source code.
This special template could use a dom component with a format template, which does convert html code.
But since you did ask two basic questions in a row, I recommend to visit a basic developer training for FirstSpirit.
Best regards,
Holger