Difference between revisions of "Contributing"

From RunWiki
Jump to: navigation, search
 
(9 intermediate revisions by the same user not shown)
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:
+
= How to contribute =
  
  
 +
*consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents Wiki's User Guide] for information on using the wiki software
 +
*watch [https://www.youtube.com/watch?v=F8irbbwNo2E&list=PLAagofQWV6pf0xFyUw7gJg2yYYB-nCS4l MediaWiki tutorials]
 +
 +
= What to do =
 +
 +
 +
check out this page: [[(progress) porting of the official documentation]]
 +
 +
= Known Wiki bugs =
 +
 +
== Don't use the "code" format of the "Edit" mode ==
 +
 +
We finally managed to make the code highlighting work, but don't use the "code" format of the text editor (the editor that opens when you click the "edit" button) because we have a bug where it breaks the formatting in the editor after that.
 +
*If you want to format just a word, go into "edit source" mode and just add <code></code> tags around your word.
 +
*If you want to format multiple lines as colored code, use the "edit source" and 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 23:
 
     }
 
     }
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
</pre>

Latest revision as of 22:06, 28 April 2023

How to contribute

What to do

check out this page: (progress) porting of the official documentation

Known Wiki bugs

Don't use the "code" format of the "Edit" mode

We finally managed to make the code highlighting work, but don't use the "code" format of the text editor (the editor that opens when you click the "edit" button) because we have a bug where it breaks the formatting in the editor after that.

  • If you want to format just a word, go into "edit source" mode and just add <code></code> tags around your word.
  • If you want to format multiple lines as colored code, use the "edit source" and just use the <syntaxhighlight> tags like this:
<syntaxhighlight lang="javascript">
    class MyClass extends Jig {
        init() {}
    }
</syntaxhighlight>