Difference between revisions of "Contributing"

From RunWiki
Jump to: navigation, search
Line 1: Line 1:
 
We finally managed to make the code highlighting work, but don't use the "code" format of the text editor ("edit" button) because I have a bug where it breaks the formatting in the editor after that. So you have to use the "edit source" if you want to add colored code, then you just use the syntaxhighlight tags like this:
 
We finally managed to make the code highlighting work, but don't use the "code" format of the text editor ("edit" button) because I have a bug where it breaks the formatting in the editor after that. So you have to use the "edit source" if you want to add colored code, then you just use the syntaxhighlight tags like this:
  
 
+
<pre>
 
<syntaxhighlight lang="javascript">
 
<syntaxhighlight lang="javascript">
 
     class MyClass extends Jig {
 
     class MyClass extends Jig {
Line 7: Line 7:
 
     }
 
     }
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
</pre>

Revision as of 03:21, 14 December 2022

We finally managed to make the code highlighting work, but don't use the "code" format of the text editor ("edit" button) because I have a bug where it breaks the formatting in the editor after that. So you have to use the "edit source" if you want to add colored code, then you just use the syntaxhighlight tags like this:

<syntaxhighlight lang="javascript">
    class MyClass extends Jig {
        init() {}
    }
</syntaxhighlight>