e-mailed me with what she has a problem with, and I'll admit I'm not too happy with the current set up myself.
Right now there are three places for users to add code: the Craft
page, the Snippets Section
, and the Code Catacombs
- Craft was what we originally started with. It had its own display type so you could type in code without any tags around it and have it displayed nicely.
The bad thing about this was that although it was displayed on the front page it's viewable life was short unless you kept hitting next links
- Snippets was our response to this people could add short blurbs of useful code and we would slowly categorize them for easy browsing
- Code Catacombs were for larger pieces of code, scripts or modules that stood on their own
Now there are so many places to put code (not even counting the Obfuscated Code
section) that users - especially new users - don't know where to put their code.
Also, snippets and pieces of code aren't set up to be quite as easily viewed in a frontpage sort of format right now because they contain some additional types of information that other types don't have.
What does everyone else think about this issue?
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.