Re: <code> element and scripting languages

On 03/20/2015 01:10 PM, Andrea Rendine wrote:
> I think it'd be too much for me, as I don't even know if anybody would
> use such an attribute to identify programming language (and I guess it
> wouldn't happen)
> And anyway... a formal standardisation for scripting languages, as new
> ones are often created, I don't know how easy it would be. Not enough
> for me alone, again.

How about using the extension (if any) that would normally be associated 
with the language?

e.g. <code plang="cpp">#define WIN32_LEAN_AND_MEAN</code>

That's what many text editors go by when determining the language.

Received on Friday, 20 March 2015 20:32:59 UTC