IT/Software/Mediawiki/Formatting Example

From msgwiki
< IT‎ | Software‎ | Mediawiki
Revision as of 05:55, 22 January 2020 by Walttheboss (talk | contribs) (→‎Links)
Jump to navigation Jump to search

This is a header

This is a sentence under the header.

Here are Lists

This is a section with a numbered list

  1. Thing 1
    1. Another thing
    2. sub things
      1. More things
  2. New things

This is a section with a unorderd list


  • a thing
    • a sub thing
    • another sub thing
  • next thing
  • filler text yay

This is a section with combined lists


  1. First thing
    • Unordered sub thing
    • Another unordered sub thing
  2. Second Thing
    1. Ordered sub thing

Code Block Formating


#!/bin/bash
#Turn backlight brighness up
currentBrightness=$(cat "/sys/class/backlight/intel_backlight/brightness")
newBrightness=$(($currentBrightness + 50))

if [[ $newBrightness>937 ]]; then
	echo 937 | tee /sys/class/backlight/intel_backlight/brightness
else
	echo $newBrightness | tee /sys/class/backlight/intel_backlight/brightness
fi

One Line Code Formating


#!/bin/bash

This is a section on Hidden Comments


<!-- Comment_Hidden -->

Links

  1. Internal
  2. External
    1. You simply do it like this. Note that there is no pipe. The last word in the brackets will show up as text.
    2. ZoneEdit

Pictures

  1. Internal
  2. External