As shown in the figure, click Setup->KNOWLEDGE BASE SITE->Footer Navigation, and select "Codeblocks Configuration", which supports code embedding of HTML and CSS. Remember to click "Save" after setting.
*"Form Configuration" and "Codeblock Configuration" cannot be used at the same time
*This feature is only available for the paid version