Difference between revisions of "Formatting Text"
From the Family Tree Forum Reference Library
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Help|Text]] | [[Category:Help|Text]] | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
− | [[image: | + | [[image:style7.jpg]] |
− | |||
__TOC__ | __TOC__ | ||
− | |||
− | |||
==Text formatting == | ==Text formatting == | ||
Line 197: | Line 194: | ||
| style="padding:3px" | | | style="padding:3px" | | ||
'''Comments''' <br/> | '''Comments''' <br/> | ||
− | Some text | + | Some text and a <!-- hidden comment --> |
| style="padding:3px;padding-left:5px" bgcolor=#efefff | | | style="padding:3px;padding-left:5px" bgcolor=#efefff | | ||
<nowiki>'''Comments''' <br/></nowiki> | <nowiki>'''Comments''' <br/></nowiki> |
Latest revision as of 09:04, 3 May 2008
Contents
Text formatting
What it looks like | What one types |
---|---|
Italic Bold Italic and bold |
''Italic'' '''Bold''' '''''Italic and bold''''' |
You can |
You can <strike>strike out</strike> and <u>underline</u> words. |
Sectioning
What it looks like | What one types |
---|---|
New sectionSubsectionSub-subsection |
==New section== ===Subsection=== ====Sub-subsection==== |
One single line break is ignored. But a single empty line creates a new break. A line break can |
One single '''line break''' is ignored. But a single empty line creates a new break. A line break can<br/>be forced. |
Various sorts of lists
What it looks like | What one types |
---|---|
marks the end of a list item. |
* Lists are easy to do: ** Start every line with a star. *** More stars means deeper levels. **** A newline in a list marks the end of a list item. |
|
# Numbered lists are also good ## very organized ## easy to follow |
|
; Definition list : list of definitions ; item : the item's definition ; another item : the other item's definition |
A manual newline starts a new paragraph. |
: A colon indents ::a line or paragraph. A manual newline starts a new paragraph. |
|
* You can even do mixed lists *# and nest them *#* like this |
Preformatted Text
What it looks like | What one types |
---|---|
IF a line starts with a space THEN it will be formatted exactly as typed; in a fixed-width font; lines won't wrap; ENDIF this is useful for: * pasting preformatted text; * algorithm descriptions; * program source code; * ASCII art; * chemical structures; |
IF a line starts with a space THEN it will be formatted exactly as typed; in a fixed-width font; lines won't wrap; ENDIF this is useful for: * pasting preformatted text; * algorithm descriptions; * program source code; * [[ASCII art]]; * chemical structures; |
Alignment
What it looks like | What one types |
---|---|
Text align: center.
|
<div align="center"><nowiki>'''Text align: center'''.</nowiki> |
Text align: right.
|
<div align="right"><nowiki>'''Text align: right'''<nowiki>.</div> |
Miscellaneous
What it looks like | What one types |
---|---|
A horizontal line: Text before and after. |
A '''horizontal line''': Text before ---- and after. |
Comments |
'''Comments''' <br/> Some text and a <!-- hidden comment --> |
This [[wiki syntax]] is [[Ignore|ignored]] |
<nowiki>This [[wiki syntax]] is [[Ignore|ignored]] </nowiki> |