wordpress content editor problems with codes

hello, I am new to WordPress, trying to write an article with around 1500 lines of code.

with 3000 lines of English lines.

And I’m using \[sourcecode language=”plain”\] \[/sourcecode\], but this is not working, it changes “” put some other text (amp)in it. tried <pre></pre> with content builder but no luck.

if i fix one part of the code, the other part jumble-up, it becomes a kind of loop.

what is the best way to write codes in English? any advice?

WordPress I need to work in shown below

https://preview.redd.it/drf2qxinmzn91.png?width=1180&format=png&auto=webp&s=04dee3209fb8ae2fb06a3cea756cf54f4fd412c6

1 Comment
  1. Wouldn’t the solution be to use another block for the code, assuming you’re using the block/Gutenberg editor?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here