Revision as of 19:36, 24 January 2025 by KazVee (talk | contribs) (Add examples for inline code, code blocks, and using special characters in code snippets)

Contributing to the Wiki

Contributing

We welcome contributions to our community powered Wiki

Before editing a file, please read our Documentation Style Guide, to help us maintain consistency across user guidance documentation.

Find the file you would like to edit, and then edit it.

Formatting Hints

Use MediaWiki's Text Formatting Guide, their Cheatsheet, and their Image Guide for screenshots.

Headers

Using H2 headers for title sections can be done with the following code:

== Title Section == 

Info

To use an Info code block, use:

{{Info|this is info text}}

Caution

To use a Caution code block, use:

{{Caution|this is Caution text}}

Danger

To use a Danger code block, use:

{{Danger|this is danger text}}

Tables

This code:

{| class="wikitable" style="margin:auto"
|+ style="caption-side:top; |'''Table Caption'''
|-
! Header 1 !! Header 2 !! Header 3
|-
| Cell 1 || Cell 2 || Cell 3
|-
| [https://heliohost.org Link 1] || [https://heliohost.org Link 2] || [https://heliohost.org Link 3]
|}

Will display as:

Table Caption
Header 1 Header 2 Header 3
Cell 1 Cell 2 Cell 3
Link 1 Link 2 Link 3

Code

Inline Code

For inline code, use <code> and </code>

This syntax:

<code>sudo whoami</code>

Will display as:

sudo whoami

Code Blocks

For code blocks, use <pre> and <pre>

This syntax:

<pre>
#!/usr/bin/python3.12
print("Content-Type: text/html\n\n")
print("Heliohost rules!")
</pre>

Will display as:

#!/usr/bin/python3.12
print("Content-Type: text/html\n\n")
print("Heliohost rules!")

Special Characters

To show < and > in plain text instead of having them interpreted as tags, use &lt; for < and &gt; for >.

Other Ways to Help

There are many other ways you can help us keep improving. Learn how you can contribute to our community on our How You Can Help page.


This page was last edited on 24 January 2025, at 19:36.