Difference between revisions of "Text Formatting Markup"
Jump to navigation
Jump to search
(Created page with "== Text Formatting Markup == {| class="wikitable" ! Description ! width=40% | You type ! width=40% | You get |- ! colspan="3" style="background: #ABE" | Character (inline) formatting – ''applies anywhere'' |- | Italic text | <pre> ''italic'' </pre> | ''italic'' |- | Bold text | <pre> '''bold''' </pre> | '''bold''' |- |Bold and italic || <pre>'''''bold & italic'''''</pre> || '''''bold & italic''''' |- | Section Headings </br> of different levels || <pre> == Lev...") |
|||
| Line 181: | Line 181: | ||
### five sub 1 sub 1 | ### five sub 1 sub 1 | ||
## five sub 2 | ## five sub 2 | ||
|- | |||
! colspan="3" style="background: #ABE" | HTML tags | |||
|- | |||
| Inserted | |||
(Displays as underline in most browsers) | |||
| <pre> | |||
<ins>Inserted</ins> | |||
or | |||
<u>Underline</u> | |||
</pre> | |||
| | |||
<ins>Inserted</ins> | |||
or | |||
<u>Underline</u> | |||
|- | |||
| Deleted | |||
(Displays as strike-through in most browsers) | |||
|<pre> | |||
<s>Strike-through</s> | |||
or | |||
<del>Deleted</del> | |||
</pre> | |||
| | |||
<s>Strike-through</s> | |||
or | |||
<del>Deleted</del> | |||
|- | |||
| Blockquotes | |||
| <pre> | |||
Text before | |||
<blockquote>Blockquote</blockquote> | |||
Text after | |||
</pre> | |||
| | |||
Text before | |||
<blockquote>Blockquote</blockquote> | |||
Text after | |||
|- | |||
| Quotes | |||
| <pre> | |||
<q>This is a quotation</q> | |||
</pre> | |||
| | |||
<q>This is a quotation</q> | |||
|- | |||
| Comment | |||
| <pre> | |||
<!-- This is a comment --> | |||
Comments are visible only | |||
in the edit zone. | |||
</pre> | |||
| | |||
<!-- This is a comment --> | |||
Comments are visible only | |||
in the edit zone. | |||
|- | |||
| Customized preformatted text | |||
|<pre> | |||
<pre style="color: red"> | |||
Text is '''preformatted''' | |||
with a style and | |||
''markups'' '''''cannot''''' be done | |||
</pre> | |||
</pre> | |||
| | |||
<pre style="color: red"> | |||
Text is '''preformatted''' | |||
with a style and | |||
''markups'' '''''cannot''''' be done | |||
</pre> | |||
|- | |- | ||
|} | |} | ||
Revision as of 12:05, 5 March 2022
Text Formatting Markup
| Description | You type | You get |
|---|---|---|
| Character (inline) formatting – applies anywhere | ||
| Italic text | ''italic'' |
italic |
| Bold text | '''bold''' |
bold |
| Bold and italic | '''''bold & italic''''' |
bold & italic |
| Section Headings of different levels |
== Level 2 == </br> === Level 3 === |
Level 2Level 3 |
| Horizontal rule | Text before ---- Text after |
Text before
Text after |
| Bullet list | * Start each line * with an [[About Table|Tabel]] (*). ** More asterisks give deeper *** and deeper levels. * Line breaks <br />don't break levels. *** But jumping levels creates empty space. Any other start ends the list. * combine bullet list ** with definition ::- definition ** creates empty space * combine bullet list ** with definition *:- definition ** without empty spaces *bullet list :- definition :* sublist that doesn't create empty :* spaces after definition |
Any other start ends the list.
|
| Numbered list | # Start each line # with a [[Wikipedia:Number_sign|number sign]] (#). ## More number signs give deeper ### and deeper ### levels. # Line breaks <br />don't break levels. ### But jumping levels creates empty space. # Blank lines # end the list and start another. Any other start also ends the list. # use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list. |
Any other start also ends the list. # use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list. |
| Definition list | ;item 1 : definition 1 ;item 2 : definition 2-1 : definition 2-2 |
|
| Indent text | : Single indent :: Double indent ::::: Multiple indent |
|
| Mixture of different types of list |
# one # two #* two point one #* two point two # three #; three item one #: three def one # four #: four def one #: this looks like a continuation #: and is often used #: instead <br /> of <br /> # five ## five sub 1 ### five sub 1 sub 1 ## five sub 2 |
|
| HTML tags | ||
| Inserted
(Displays as underline in most browsers) |
<ins>Inserted</ins> or <u>Underline</u> |
Inserted or Underline |
| Deleted
(Displays as strike-through in most browsers) |
<s>Strike-through</s> or <del>Deleted</del> |
or
|
| Blockquotes | Text before <blockquote>Blockquote</blockquote> Text after |
Text before
Text after |
| Quotes | <q>This is a quotation</q> |
|
| Comment | <!-- This is a comment --> Comments are visible only in the edit zone. |
Comments are visible only in the edit zone. |
| Customized preformatted text | <pre style="color: red"> Text is '''preformatted''' with a style and ''markups'' '''''cannot''''' be done |
Text is '''preformatted''' with a style and ''markups'' '''''cannot''''' be done |