http://www.perlmonks.org?node_id=790517

Today a new feature was added, if you use

<c>code
here</c>

it gets turned into

code here
Can we please change that back to the old way? Or if you wish to keep it, made it #download, or get rid of [download] text, and turn the entire code content (or the first 10 characters) into a link?

Example 1

#!/usr/bin/perl -- use strict; use warnings;
For example 1 you can made special div css class that doesn't underline links.

Example 2

#!/usr/bin/perl -- use strict; use warnings;
For example 2 use span tags.

An entirely better option would like this paste-it example, you can select the code without selecting line numbers; a download link wouldn't be required at all.

Thank you for listening

Replies are listed 'Best First'.
Re: new feature, code tags get added [download] link
by Tanktalus (Canon) on Aug 22, 2009 at 03:51 UTC

    Or, you could create an account, log in, go to your Display Settings and turn it off if you don't like it.

    You have a choice. It's free.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: new feature, code tags get added [download] link
by Anonymous Monk on Aug 22, 2009 at 10:52 UTC
    Here is a Greasemonkey script Here is a bookmarklet. To use, copy below code to html file, open in browser, and drag the link into your bookmarks
    <a href="javascript:(function()%7B%20%20function%20toggleDisplay(t,c)% +7Bvar%20e=document.getElementsByTagName(t);for(var%20i=0;i%3Ce.length +;i++)%7Bif(c)%7Bif(e%5Bi%5D.className==c)%7Be%5Bi%5D.style.display=e% +5Bi%5D.style.display==%22none%22?%22inherit%22:%22none%22;%7D%7Delse% +7Be%5Bi%5D.style.display=e%5Bi%5D.style.display==%22none%22?%22inheri +t%22:%22none%22;%7D%7D%7DtoggleDisplay(%22div%22,%22embed-code-dl%22) +;%20%20%7D)()">togDisDL</a>
    clicking the bookmark toggels hide show for [download] link.