WordPress.org

Support

Support » Plugins and Hacks » Enlighter - Customizable Syntax Highlighter » [Resolved] No indentation in the first line

[Resolved] No indentation in the first line

  • Hello again. First of all, I love the new style of EnlighterJS, it’s just awesome and beautiful!

    The problem is, I think with this specific new version, the first line looses the indentation, for example:

    [python]
        if b:
            print("Hello world!")
    [/python]

    This outputs:

    if b:
            print("Hello world!")

    But should be:

    # I need this coment, otherwise the problem also happens here
        if b:
            printf("Hello world!")

    I solved this now by putting some   in the first line to simulate the indentation.

    Thanks in advance!

    Edited: wow, the problem also happens here.

    https://wordpress.org/plugins/enlighter/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] No indentation in the first line’ is closed to new replies.
Skip to toolbar