Support » Plugin: Enlighter - Customizable Syntax Highlighter » No indentation in the first line

  • Resolved cdonts

    (@cdonts)


    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 ‘No indentation in the first line’ is closed to new replies.