0

I use code-prettify and work like a charm How can I justify codes?

I add this code:

<?php
    echo 1;
        echo 1;
    ?>

But I want print this:

<?php
    echo 1;
    echo 1; //--> remove extra space
?> //--> remove extra space
No NAME
  • 159
  • 1
  • 10

1 Answers1

0

Google code-prettify is a syntax highlighter, not a code beautifier. Code indentation is usually part of code beautifier.

Martheen
  • 5,198
  • 4
  • 32
  • 55