Wikitext: Difference between revisions

 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
Inline code can by represented with <nowiki><code></code></nowiki><br>
Inline code can by represented with <nowiki><code></code></nowiki><br>
Code blocks should be like:
Code blocks should be like:
<pre>
<pre>
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
Line 10: Line 11:


==Math==
==Math==
Math is written in standard latex syntax inside of <nowiki><math></math></nowiki>.
Math is written in standard latex syntax inside of <nowiki><math></math></nowiki>
I use a modified version of SimpleMathJax: https://github.com/dli7319/SimpleMathJax3.


* Beware: Do not use <code>||</code>, use <code>\Vert</code> instead.
* Beware: Do not use <code>||</code>, use <code>\Vert</code> instead.
Line 19: Line 21:


==Images==
==Images==
See [[Mediawiki: Help:Images]].
See [[Mediawikiwiki: Help:Images]].


==Line Breaks==
==Line Breaks==
Line 34: Line 36:
Instead you can use [[Wikipedia: Help:Footnotes#List-defined_references]].
Instead you can use [[Wikipedia: Help:Footnotes#List-defined_references]].


<pre>
<syntaxhighlight lang="xml">
{{reflist|refs=
{{reflist|refs=
<ref name="name1">Content</ref>
<ref name="name1">Content</ref>
Line 40: Line 42:
<ref name="name...n">Content</ref>
<ref name="name...n">Content</ref>
}}
}}
</pre>
</syntaxhighlight>