Help:Formatting

From CSDMS

Formatting text

You can format your text using a wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position.

For example, to format a word in italic, you include it in two single quotes like ''this''. 10 formatting options are displayed as icons right above the editing window.

Editbar icons.png


From left to right the icons represent:
Bold text
Italic text
Internal link
External link
Level 2 headline
Embedded image
Media file link
Mathematical formula (LaTex)
Ignore Wiki syntax
Your signature with time stamp
Horizontal line

In stead of using the icons, you can also use the wiki markup notations listed in the (See table below).

Table examples text formatting

Description You type You get
applies anywhere
Italic text ''italic'' italic
Bold text '''bold''' bold
Bold and italic '''''bold & italic''''' bold & italic
Strike through <s>Strike through</s> Strike through
Escape wiki markup <nowiki>no ''markup''</nowiki> no ''markup''
Fixed width text

<tt>Fixed width text</tt>

Fixed width text

only at the beginning of the line
Indent text

:Single indent
::Double indent
:::::Multiple indent

Single indent
Double indent
Multiple indent
Headings of

different levels (An article with four or more headings will automatically create a table of contents)

=level 1=
==level 2==
===level 3===
====level 4====
=====level 5=====
======level 6======

Level 1

Level 2

Level 3
Level 4
Level 5
Level 6

Horizontal rule

----


Bullet list

* one
* two
* three
** three and one-third
** three and two-thirds

  • one
  • two
  • three
    • three and one-third
    • three and two-thirds
Numbered list

# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two

  1. one
  2. two
    spanning several lines
    without breaking the numbering
  3. three
    1. three point one
    2. three point two
Mixture of bulleted
and numbered lists

# one
# two
#* two point one
#* two point two

  1. one
  2. two
    • two point one
    • two point two
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
Preformatted text

  preformatted text is done with
  a space at the
  beginning of the line

preformatted text is done with
a space at the 
beginning of the line
Preformatted text with no indentation

 <pre> some preformatted text with no indentation </pre>

some preformatted text with no indentation
Blockquotes

Body
text text text text text text text text text text text text text text text text text text text text text text text text

<blockquote> quote quote quote quote quote quote </blockquote>

text text text text text text text text text text text text

Body
text text text text text text text text text text text text text text text text text text text text text text text text

quote quote quote quote quote quote

text text text text text text text text text text text text

Comment

<!--This is comment-->

Source code highlight See Note below table for supporting languages

<syntaxhighlight lang="java5" lines="0">for (int i = numbers.length - 1; i >= 0; i--) {</syntaxhighlight>

for (int i = numbers.length - 1; i >= 0; i--) {
Footnote 1) One or multiple footnotes For over 40 years, scientists have been developing numerical models to help understand and constrain how sedimentary systems are formed. <ref>Syvitski, J.P.M., 2008. Predictive modeling in sediment transport and stratigraphy. ''Computers & Geosciences'', '''34''', 1167-1169.</ref><ref>Briggs, L.I., Pollack, H.N. 1967. Digital model of evaporite sedimentation, ''Science'', '''155''', 2119–2162.</ref> ''Footnote'' <references/> For over 40 years, scientists have been developing numerical models to help understand and constrain how sedimentary systems are formed. [1][2]

Footnote

  1. Syvitski, J.P.M., 2008. Predictive modeling in sediment transport and stratigraphy. Computers & Geosciences, 34, 1167-1169.
  2. Briggs, L.I., Pollack, H.N. 1967. Digital model of evaporite sedimentation, Science, 155, 2119–2162.
Footnote 2) Multiple uses of same footnote This is an example of multiple references to the same footnote.<ref name="anyname">Remember that when you refer to the same footnote multiple times, the text from the first reference is used.</ref> Such references are particularly useful when citing sources, if different statements come from the same source.<ref name="anyname" /> ''Footnote'' <references /> This is an example of multiple references to the same footnote.[1]

Such references are particularly useful when citing sources, if different statements come from the same source.[1]

Footnote

  1. 1.0 1.1 Remember that when you refer to the same footnote multiple times, the text from the first reference is used.
Footnote 3) Griyoed references This is an example of a reference together with a footnote.<ref>This is the reference part.</ref> And now comes the footnote. <ref group="footnotes">Place a footnote here.</ref> ''Footnote'' <references group="footnotes" /> ''References'' <references /> This is an example of a reference together with a footnote.[1]

And now comes the footnote. [footnotes 1]

Footnote

  1. Place a footnote here.

References

  1. This is the reference part.

Program languages that are supported by Source code highlight:
actionscript, apache, asm, asp, bash, c, cpp, csharp, css, diff, div, idl, ini, java, java5, javascript, latex, lisp, matlab, mysql, objc, perl, php-brief, php, python, rails, robots, smalltalk, smarty, sql, tcl, text, vb, vbnet, vhdl, xml, xpp.