How can I effectively use raw HTML code in webpage content?

I’d like to show source code (C, Python, etc.) on our pages and blogs.

I clicked the “Show HTML” button and enter HTML code in the rich text editor, but the code is modified (“<” is replaced to “<”, newline code is erased, and so on).

So, I cannot display as I typed although using

 tags.

(1) Do you have any idea to deactivate the function of code modification?

(2) Or, how can I make some sections to use raw HTML code in the pages?

When you use the rich text editor, if you need to paste the HTML source code, you first need to open the source switch.

@Simonsron

Thank you for your reply.

I use the “source switch” and edit the HTML directly.

Although I use the

 tags, the code I wrote was automatically modified.

For example, when I write a character of “<”, it is modified to “<”.

I’d like to show it exactly as I wrote.

Hello @NB1738 ,

You can enter the tag directly in your content, without going to the HTML editor.

image.png

Hope it helps. Let us know if you need any help.

Regards,

CedCommerce

@Cedcommerce

Thank you for your reply.

I’d like to show some programs on the blogs or pages.

So, I’d like to use

 tags and show exactly as I type.

I do not want to show HTML tags.