User talk:CRGreathouse/lang tags: Difference between revisions

You can update the list when you correct things, if desired
(don't use lang for output)
(You can update the list when you correct things, if desired)
Line 8:
:: It shouldn't be used for plain output (use <nowiki><pre></nowiki> for that) but it ''does'' make sense for highlighting an interactive session using the solution. Have a care! (Also note that some things that mention C are actually mis-labelled C# solutions; there are problems with interaction with wiki syntax.) –[[User:Dkf|Donal Fellows]] 14:55, 28 November 2011 (UTC)
::: Right, lang shouldn't be misused for output. On the other hand, it's entirely possible to have code for a different language in a section; for example, I recently wrote a section in which one language made a messy external call. To clarify I broke that section out (after finishing the code in the other language) in a short snippet marked <nowiki><lang bash>...</lang></nowiki>. [[User:CRGreathouse|CRGreathouse]] 18:53, 28 November 2011 (UTC)
 
==Updating the list==
Feel free, by the way, to remove entries when you fix something. Eventually I (or someone else) can regenerate the list but for the time being it's just as easy to edit by hand.
 
[[User:CRGreathouse|CRGreathouse]] 19:05, 28 November 2011 (UTC)