• I am using the Code Syntax Block plugin for WordPress. I am using a WordPress version and PHP version that meets the minimum required verion for the Code Syntax Block plugin.

    Whenever I use it the first line of code (be it Bash or whatever) has two leading spaces. When I am editing it, there is no sign of a space. How do I eliminate this double space?

    For example, I want the code to appear like this:

    #!/bin/bash
    echo "test"
    echo "line 3"

    But it appears like this:

      #!/bin/bash
    echo "test"
    echo "line 3"
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why does the first line of code indent if the code has syntax highlighting?’ is closed to new replies.