User talk:Showell: Difference between revisions
Content added Content deleted
(lang tag for CoffeeScript) |
No edit summary |
||
Line 1: | Line 1: | ||
==Lang tag== |
==Lang tag== |
||
I think that when you add |
I think that when you add CoffeeScript programs, you should write |
||
<pre><lang coffeescript>...</lang></pre> |
<pre><lang coffeescript>...</lang></pre> |
||
(or the like) rather than |
(or the like) rather than |
||
Line 9: | Line 9: | ||
[[User:CRGreathouse|CRGreathouse]] 05:10, 29 March 2012 (UTC) |
[[User:CRGreathouse|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? --[[User:Showell|Showell]] 05:18, 29 March 2012 (UTC) |
Revision as of 05:18, 29 March 2012
Lang tag
I think that when you add CoffeeScript programs, you should write
<lang coffeescript>...</lang>
(or the like) rather than
<lang>...</lang>
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)