|
|
Line 1: |
Line 1: |
− | See the [http://meta.wikimedia.org/wiki/Help:Editing MediaWiki editing help].
| + | Please see: |
− | | + | http://meta.wikimedia.org/wiki/Help:Editing |
− | Here is a complete list of the templates available on the Eclipse wiki, just waiting yours to add up!
| + | |
− | | + | |
− | {{:Special:Allpages/Template:}}
| + | |
− | | + | |
− | If you have to write source code in Java, you can wrap code inside source tags <source lang="java"></source>:
| + | |
− | | + | |
− | {| class="prettytable"
| + | |
− | |-
| + | |
− | ! Language !! Source !! Result
| + | |
− | |-
| + | |
− | ! Java
| + | |
− | | <pre><source lang="java">
| + | |
− | public static void main(String args[]) {
| + | |
− | System.out.println("Hello world");
| + | |
− | }
| + | |
− | </source>
| + | |
− | </pre>
| + | |
− | || <source lang="java">
| + | |
− | public static void main(String args[]) {
| + | |
− | System.out.println("Hello world");
| + | |
− | }
| + | |
− | </source>
| + | |
− | |-
| + | |
− | ! XML
| + | |
− | | <pre><source lang="xml">
| + | |
− | <extension point="org.eclipse.stp.bpmn.diagram.EAnnotationDecorator">
| + | |
− | <decorator
| + | |
− | class="org.eclipse.stp.bpmn.sample.annotationdecoration.AnnotationDecorator"
| + | |
− | source="textAnnotationSource"/>
| + | |
− | </extension>
| + | |
− | </source> </pre>
| + | |
− | || <source lang="xml">
| + | |
− | <extension point="org.eclipse.stp.bpmn.diagram.EAnnotationDecorator">
| + | |
− | <decorator
| + | |
− | class="org.eclipse.stp.bpmn.sample.annotationdecoration.AnnotationDecorator"
| + | |
− | source="textAnnotationSource"/>
| + | |
− | </extension>
| + | |
− | </source>
| + | |
− | |}
| + | |
− | | + | |
− | You can use it for any other language supported by [http://qbnz.com/highlighter/ GeShi].
| + | |
Revision as of 10:05, 19 March 2013
Please see:
http://meta.wikimedia.org/wiki/Help:Editing