Ayush
Help:Advanced editing[edit]
Wiki markup allows you to format your text using normal characters with special functions. For example, to create italic text, surround the word or phrase with two pairs of apostrophes like this.
Text Formatting Markup[edit]
Description[edit]
You type[edit]
You get[edit]
Character (inline) formatting – applies anywhere[edit]
Italic text[edit]
- italic
- *italic*
Bold text[edit]
- bold
- **bold**
Bold and italic[edit]
- bold & italic
- *bold & italic*
Escape wiki markup[edit]
- no [[wiki]] ''markup''
- no wiki markup
Section formatting – only at the beginning of the line[edit]
Section Headings of different levels[edit]
- == Level 2 == - === Level 3 === - ==== Level 4 ==== - ===== Level 5 ===== - ====== Level 6 ======
Horizontal rule[edit]
- ----
- Text before
- ----
- Text after
Bullet list[edit]
- * Start each line
- ** with an asterisk (*).
- *** More asterisks give deeper
- **** and deeper levels.
- * Line breaks
don't break levels.
- **** But jumping levels creates empty space.
- Any other start ends the list.
- Start each line - with an asterisk (*). - More asterisks give deeper - and deeper levels. - Line breaks don't break levels. - But jumping levels creates empty space. - Any other start ends the list.
Numbered list[edit]
- # Start each line
- ## with a number sign (#).
- ### More number signs give deeper
- #### and deeper
- #### levels.
- # Line breaks
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.
- Start each line - with a number sign (#). - More number signs give deeper - and deeper - levels. - Line breaks 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.
Definition list[edit]
- ;item 1 - : definition 1 - ;item 2 - : definition 2-1 - : definition 2-2
- item 1 - definition 1 - item 2 - definition 2-1 - definition 2-2
Indent text[edit]
- : Single indent - :: Double indent - ::::: Multiple indent
- Single indent - Double indent - Multiple indent
Mixture of different types of list[edit]
- # 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
of <br>
- # five
- ## five sub 1
- ### five sub 1 sub 1
- ## five sub 2
- 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 of
- five
- five sub 1
- five sub 1 sub 1
- five sub 2
Preformatted text[edit]
- Start each line with a space. - Text is preformatted and - markups can be done.
- Start each line with a space. - Text is preformatted and - markups can be done.
Preformatted text blocks[edit]
- Start with a space in the first column, - (before the <nowiki>). - Then your block format will be - maintained. - This is good for copying in code blocks: - def function(): - """documentation string""" - if True: - print True - else: - print False
- Start with a space in the first column, - (before the <nowiki>). - Then your block format will be - maintained. - This is good for copying in code blocks: - def function(): - """documentation string""" - if True: - print True - else: - print False
Paragraphs[edit]
MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tag
.
HTML tags[edit]
Some HTML tags are allowed in MediaWiki, for example ,
, and . These apply anywhere you insert them.
Inserted (Displays as underline in most browsers)[edit]
- Inserted
- or
- Underline
- Inserted
- or
- Underline
Deleted (Displays as strike-through in most browsers)[edit]
- Strike-through
- or
- Deleted
- Strike-through
- or
- Deleted
Fixed width text[edit]
- Source code
- Source code
Blockquotes[edit]
- Text before
- Blockquote
- Text after
- Text before
- Blockquote
- Text after
Quotes[edit]
- This is a quotation
- This is a quotation
Comment[edit]
-
- Comments are visible only
- in the edit zone.
- Comments are visible only
- in the edit zone.
Completely preformatted text[edit]
- - Text is '''preformatted''' and
- ''markups'' '''''cannot''''' be done
-
- Text is preformatted and
- markups cannot be done
Customized preformatted text[edit]
- - Text is '''preformatted'''
- with a style and
- ''markups'' '''''cannot''''' be done
-
- Text is preformatted
- with a style and
- markups cannot be done
Customized preformatted text with disabled text wrapping[edit]
- - This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.
-
- This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.
Other Formatting[edit]
Beyond the text formatting markup shown hereinbefore, here are some other formatting references:
- Links
- Lists
- Images
- LanguageConverter markup – see Writing systems/Syntax
- References – see Extension:Cite
- Tables
- Collapsible elements
You can find more references at Help:Contents.
This article "Ayush" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Ayush. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.