in reply to Consistent tab width settings

Maybe there should be a perltidy button next to preview/create?

Replies are listed 'Best First'.
Re^2: Consistent tab width settings
by hippo (Archbishop) on Sep 11, 2022 at 09:53 UTC

    Nice idea. However, we are encouraged (and rightly so) to wrap data within <code> ... </code> tags as well and perltidy will complain loudly about code it can't parse. We also sometimes see actual code in other languages as source material. I can just see this creating more problems than it solves in the long run.


    🦛

      Kludgy ui but were there some way to click something next to a code section (edit akin to the d/l link) that would return/add the tidied content for that block. Really I'm not coming up with anything I'd call good save heading down the path of madness to a more rich-text-y WYSIWYMG (... What You May Get) editor.

      The cake is a lie.
      The cake is a lie.
      The cake is a lie.

        heading down the path of madness to a more rich-text-y WYSIWYMG

        There is an implementation of this which we could follow.

        Everything2 has a WYSIWYG editor, and both Perl Moks and Everything are based on the same platform.

        Personally, I feel it would be a highly desirable feature. However, I would suggest that it be switchable to the existing input arrangement for those who don't like change or want to do something flashy that is beyond the editor.