Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Consistent tab width settings

by hippo (Bishop)
on Sep 11, 2022 at 09:53 UTC ( [id://11146825]=note: print w/replies, xml ) Need Help??


in reply to Re: Consistent tab width settings
in thread Consistent tab width settings

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.


🦛

Replies are listed 'Best First'.
Re^3: Consistent tab width settings
by Fletch (Bishop) on Sep 12, 2022 at 00:37 UTC

    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.

        both Perl Moks and Everything are based on the same platform

        Frequently given answers to such statements go in the direction that PM and E2 have started from the same codebase, but have a long history of incompatible changes. Or, quoting Wikipedia: Perlmonks:

        The code that the site runs on is a much hacked fork of an early version of the Everything Engine and was created by Nathan Oostendorp as part of Blockstackers Intergalactic — the firm that also ran Slashdot. As a result, PerlMonks has many features in common with both Everything2 and Slashdot

        I don't know a single line of E2 or PM code, but it is VERY OLD code that should be handled with a lot of care.

        Alexander

        --
        Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11146825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 18:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found