Re: Code in Comments

On 14 May 2012 14:52, Ian Jacobs <ij@w3.org> wrote:
>
> On 13 May 2012, at 8:41 AM, Ian Jacobs wrote:
>
>>
>> On 12 May 2012, at 2:20 PM, Doug Schepers wrote:
>>
>>> Hi, Ian-
>>>
>>> Many people try to insert code snippets (like <img>, <h1>, <foo>, etc.) into their comments on the CG WordPress forums, not wanting them to render as HTML but as the literal string, for discussion.  You can see how this turns comments dysfunctional in this recent thread [1] on Responsive Images.
>>>
>>> Could we install some plugin [2] or set some pref to disable HTML in comments?  I think that would be far more useful for our community. Or, if possible, a checkbox to allow them to selectively turn on or off comments?
>>
>> We have a plugin installed I believe. I'll check this week.
>
> We have network-installed this plugin:
>  http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/
>
> I added that to our documentation of installed plugins:
>  http://www.w3.org/community/about/tool/

Something of an aside, but
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi was
recently enabled for the main W3C Wiki space. I think it needs
switching on wiki-by-wiki, but I can vouch that it has been really
useful for the Web Schemas work already, and encourages people to
create and improve examples. I'm not sure if it's standard for CG's
but if you're considering that, +1 from me.

cheers,

Dan


>>> [1] http://www.w3.org/community/respimg/2012/05/11/respimg-proposal/
>>> [2] http://www.theblog.ca/literal-comments
>>>
>>> Regards-
>>> -Doug
>>>
>>>
>>
>> --
>> Ian Jacobs (ij@w3.org)    http://www.w3.org/People/Jacobs/
>> Tel:                                      +1 718 260 9447
>>
>>
>
> --
> Ian Jacobs (ij@w3.org)    http://www.w3.org/People/Jacobs/
> Tel:                                      +1 718 260 9447
>
>

Received on Monday, 14 May 2012 13:13:36 UTC