Worpress indent text

The problem: I have a piece of code that I want to show indented, but adding blank spaces by pressing the space bar is not solving the issue.

Also, using “ ” will disappear if I jump from Visual to Text mode.

The solution:

  • The number of characters give you the indentation. The character used is not important.

    Full reference