User talk:Showell

From Rosetta Code

Lang tag

I think that when you add CoffeeScript programs, you should write

<lang coffeescript>...</lang>

(or the like) rather than


so that if someone eventually writes a syntax highlighting file for it all of the code will be highlighted. (It probably wouldn't take long to port the JavaScript file to CS.)

What do you think?

CRGreathouse 05:10, 29 March 2012 (UTC)

I've always done that. Do you have a specific example in mind where I forgot to do this? --Showell 05:18, 29 March 2012 (UTC)

Hmm. I had checked a page, but I don't recall which. Let me look at some others.
Ah, I see. I had noticed a spike of CS occurrences being pulled up by Rosetta Code/Find bare lang tags over the last 6 months or so, pulled one up, and saw that it had a blank tag; since from your contributions you're a major contributor to CS I figured that was what was probably going on in general.
But it looks like what's usually going on is that you mark examples with <lang> rather than <pre>. That sort of made CoffeeScript jump up almost to the top of the "bad lang tags" list from the above task, thus my curiosity.
CRGreathouse 22:58, 29 March 2012 (UTC)