User talk:Objeck: Difference between revisions

(→‎Language tag: new section)
(→‎Intrawiki links: new section)
Line 10:
 
Hello, I've seen you changed the language tag for some Objeck examples to <code>cpp</code>. While this may look better in the short run it's not a very good idea here as it will try highlighting your source as C++, obviously. This may conflict with the Object syntax (don't know exactly but one might never know) and it will also not highlight keywords your language has but C++ doesn't, such as <code>bundle</code>, <code>native</code>, etc. Arguably it ''does'' look nicer than without highlighting at all, but that's only until someone creates syntax highlighting for Objeck. For a start you could use [http://rosettacode.org/geshi/ AutoGeSHi] to create such a file and get it included. Here on Rosetta Code it's actually preferred to have each language example use its own language tag to ensure that (a) all examples have a defined language (as opposed to just use <code>&lt;pre></code> where syntax highlighting is unavailable) and (b) highlighting can be added by just providing the GeSHi language file instead of also going through every task in that language and replace the previously-used language tag. —[[User:Hypftier|Johannes Rössel]] 03:25, 1 July 2010 (UTC)
 
== Intrawiki links ==
 
Take a look at [http://rosettacode.org/mw/index.php?title=Category:Objeck&diff=85707&oldid=prev this diff]; typically, you want to use wiki links instead of full offsite-capable links. --[[User:Short Circuit|Michael Mol]] 18:29, 13 July 2010 (UTC)