Everything2
Near Matches
Ignore Exact
Full Text
Everything2

E2 Source Code Formatter




You have fallen into the loving arms of the E2 Source Code Formatter. Just paste your source code into the box and click the "Reformat" button, and all your dreams will come true. If you don't know (or don't care) what source code is, you won't find this thing useful at all.

The "Reformat" button replaces angle brackets, square brackets, and ampersands with appropriate HTML character entities. "DEformat" changes them back again.

Because users' screen resolutions vary, we strongly urge you to keep your code <= 80 columns in width so that it doesn't mess with E2's page formatting. If the lines are far too wide, a god may feel compelled to fix the thing -- and most of our gods are not programmers. To that end, we also strongly encourage you to use spaces instead of tabs: Most browsers display tabs as eight spaces, which increases the line width for no good reason since you probably only want four-space tabs anyway. Even if you don't, you should. Don't start me on about where the braces go.

These operations are performed on the entire string, so you'll want to paste in only the actual source code part of your writeup. You'll need to supply your own <pre> tags as well. I fussed around with making it <pre>-aware, but that got painful.

Other E2 Formatting Utilities:
Wharfinger's Linebreaker: For formatting poetry and lyrics.
E2 Paragraph Tagger: Add well-formed paragraph tags, with options.
E2 List Formatter: Convert text into well-formed HTML lists, with all manner of options.



Nota bene:

This was created by wharfinger and is being maintained by wharfinger, so it's not fair to hassle nate about it if it eats your dog. wharfinger's gnatlike attention span may crap out one day, and when that happens it'll probably end up on nate's plate after all, but we'll cross that bridge when we come to it.




  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
After stirring Everything, these nodes rose to the top:
The Badlands
Nuclear Weapons Do Not Function Without Yellow Tape
Squash
Is Taiwan a part of China?
E2 Prose Writers Group
Orientalism
The 1989 U.S. Invasion of Panama
Arizona
How to read to a child
Hammond B-3
Bush v. Gore
George S. Kaufman
Ailurophobia
New Writeups
cryforhelp
Major dictionaries of the world(review)
Glowing Fish
The Uncanny X-Men and the New Teen Titans(thing)
WolfKeeper
Launch loop(idea)
TendoKing
Katana(person)
Wuukiee
Highly ornamental cultivars of brambles still have as many thorns as their wild counterparts(idea)
TheDeadGuy
Editor Log: May 2008(log)
everyday j.Lo
pray do not molest them(thing)
ammie
Bands Who Take Their Names from Eighteenth-century English Poetry and Prose(idea)
shaogo
Under My Thumb(review)
ammie
Rock On(person)
The Custodian
The Dresden Files(thing)
Ouzo
PETA becomes you, a proposed future(fiction)
Ereneta
Stone Soup, Part Two(fiction)
jjen
Sorrier than I ever thought I would be(personal)
locke baron
Moskva class antisubmarine cruiser(thing)
Everything 2 is brought to you by the letter C and The Everything Development Company