Jump to content

Help:Formatting

This is a fully translated help. Click here for more information.
From DawoumWiki, the free Mathematics self-learning

위키 마크업을 사용함으로써 텍스트 서식을 지정할 수 있습니다. 이것은 위키에서 특별한 함수를 가지는 별표, 작은 따옴표 또는 등호와 같은 일반 문자로 구성되며, 때때로 그것들의 위치에 따라 다릅니다. 예를 들어, 기울임꼴로 단어의 서식을 지정하기 위해, 그것을 ''this''와 같은 작은 따옴표 두 쌍에 포함시키십시오.

Text formatting markup

설명 입력하십시오 화면에 표시됩니다
문자 (인라인) 서식지정 – 모든 곳에 적용됩니다
Italic text
''italic''

italic

Bold text
'''bold'''

bold

Bold and italic
'''''bold & italic'''''

bold & italic

Escape wiki markup
<nowiki>no [[wiki]] ''markup''</nowiki>

no [[wiki]] ''markup''

Section formatting – only at the beginning of the line
Section Headings of different levels
== Level 2 ==

=== Level 3 ===

==== Level 4 ====

===== Level 5 =====

====== Level 6 ======

  • Skip Level 1, it is page name level.
  • Do not put any text on the same line after the ending equal signs.
  • An article with 4 or more headings automatically creates a table of contents (unless setting the magic word __NOTOC__).

Level 2

Level 3

Level 4

Level 5
Level 6
Horizontal rule
Text before
----
Text after

Text before


Text after

Bullet list
* Start each line
* with an [[Wikipedia:asterisk|asterisk]] (*).
** 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
  • 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.

  • 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
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.

<nowiki>#</nowiki> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list.
  1. Start each line
  2. with a number sign (#).
    1. More number signs give deeper
      1. and deeper
      2. levels.
  3. Line breaks
    don't break levels.
      1. But jumping levels creates empty space.
  4. Blank lines
  1. 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.

Definition list
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
At the end of the line, if the line begins with a semicolon (;), any inserted colon (:) will not be displayed. If you want for the colon to be displayed, escape it by writing &#58;.
item 1
definition 1
item 2
definition 2-1
definition 2-2
Indent text
: Single indent
:: Double indent
::::: Multiple indent

This workaround may harm accessibility.
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 <nowiki><br /></nowiki>
# five
## five sub 1
### five sub 1 sub 1
## five sub 2

The usage of #: and *: for breaking a line within an item may also harm accessibility.
  1. one
  2. two
    • two point one
    • two point two
  3. three
    three item one
    three def one
  4. four
    four def one
    this looks like a continuation
    and is often used
    instead
    of <br />
  5. five
    1. five sub 1
      1. five sub 1 sub 1
    2. five sub 2
Preformatted text
 Start each line with a space.
 Text is '''preformatted''' and
 ''markups'' '''''can''''' be done.

This way of preformatting only applies to section formatting. Character formatting markups are still effective.
Start each line with a space.
Text is preformatted and
markups can be done.
Preformatted text blocks
 <nowiki>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</nowiki>
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

미디어위키는 단일 줄 바꿈을 무시합니다. 새로운 단락을 시작하기 위해, 단락 사이에 빈 줄을 남겨둬야 합니다. 단락 내에서 강제로 줄 바꿈을 하고 싶으면, HTML 태그 <br />를 삽입하십시오.

HTML tags

일부 HTML 태그는 미디어위키에서 허용되며, 예를 들어 <code>, <div>, 및 <span>이 있습니다. 이것들은 삽입한 곳 어디에서나 적용됩니다.

설명 입력하십시오 화면에 표시됩니다
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>

Strike-through

or

Deleted

Fixed width text
<code>Source code</code>
Source code
Blockquotes
Text before
<blockquote>Blockquote</blockquote>
Text after

Text before

Blockquote

Text after

Quotes
<q>This is a quotation</q>
The q element must not be used in place of quotation marks that do not represent quotes; for example, it is inappropriate to use the q element for marking up sarcastic statements.[1]
This is a quotation
Comment
<!-- This is a comment -->
Comments are visible only 
in the edit zone.

Comments are visible only in the edit zone.

Completely preformatted text
<pre>
Text is '''preformatted''' and 
''markups'' '''''cannot''''' be done
</pre>

For marking up of preformatted text, check the "Preformatted text" entry at the end of the previous table.
Text is '''preformatted''' and 
''markups'' '''''cannot''''' be done
Customized preformatted text
<pre style="color: red">
Text is '''preformatted''' 
with a style and 
''markups'' '''''cannot''''' be done
</pre>

A CSS style can be named within the style attribute.
Text is '''preformatted''' 
with a style and 
''markups'' '''''cannot''''' be done

continued:

설명 입력하십시오 화면에 표시됩니다
Default preformatted text has a CSS attribute (white-space: pre-wrap;) to wrap the text according to available width
<pre>
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.
</pre>
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.
Customized preformatted text with disabled text wrapping
<pre style="white-space: pre;">
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.
</pre>
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.

Inserting symbols

키보드에서 직접 입력할 수 없는 기호와 다른 특수 문자는 다양한 방법으로 삽입될 수 있습니다. 많은 운영 시스템과 브라우저는 메뉴 옵션 또는 운영 시스템 패널을 통해 특수 문자를 삽입하는 것을 허용합니다. 추가적으로, 그것들을 편집 화면에 삽입하기 위해 WikiEditor 또는 VisualEditor를 사용할 수 있습니다.

마지막 수단으로, 특수 문자의 시퀀스를 사용할 수 있습니다. 그들 시퀀스는 HTML 엔티티라고 불립니다. 예를 들어, 다음 시퀀스 (엔티티) &rarr; 삽입하면 오른쪽 화살표 HTML 기호 →를 표시될 것이고 &mdash; 삽입하면 전각 대시 HTML 기호 —로 표시될 것입니다.


임의의 문자 위로 마우스를 가져가면 그것이 생성하는 기호를 찾을 수 있습니다. 현재 글꼴에서 사용할 수 없는 일부 기호는 빈 사각형으로 나타날 것입니다.
HTML 기호 엔티티
Á á Â â ´ Æ æ À à Α α & Å å Ã ã Ä ä Β β ¦ Ç ç ¸ ¢
Χ χ ˆ © ¤ ° Δ δ ÷ É é Ê ê È è Ε ε Η η
Ð ð Ë ë ƒ ½ ¼ ¾ Γ γ > Í í Î î ¡ Ì ì Ι ι
¿ Ï ï Κ κ Λ λ « < ¯ µ · Μ μ  
¬ Ñ ñ Ν ν Ó ó Ô ô Œ œ Ò ò Ω ω Ο ο ª º Ø ø Õ õ Ö
ö Φ φ Π π ϖ ± £ Ψ ψ " » ® Ρ ρ
Š š § ­ Σ σ ς ¹ ² ³ ß Τ τ Θ θ ϑ Þ þ ˜
× Ú ú Û û Ù ù ¨ ϒ Υ υ Ü ü Ξ ξ Ý ý ¥ ÿ Ÿ Ζ ζ
설명 입력하십시오 화면에 표시됩니다
Copyright symbol &copy;
©
Greek delta letter symbol &delta;
δ
Euro currency symbol &euro;

위키피디아 기사 HTML 엔티티의 목록에서 모든 HTML 엔티티의 목록을 참조하십시오. 추가적으로, 미디어위키는 두 가지 비-표준 엔티티 참조 시퀀스: &רלמ;&رلم;를 지원합니다. 이것들 둘 다는 &rlm;와 동등한 것으로 고려되고 오른쪽에서 왼쪽으로 표시됩니다. (같은 페이지에서 오른쪽에서 왼쪽 언어와 왼쪽에서 오른쪽 언어를 결합할 때 사용됩니다.)

HTML tags and symbol entities displayed themselves (with and without interpreting them)

&amp;euro;  → &euro;
<span style="color: red; text-decoration: line-through;">Typo to be corrected</span>  → Typo to be corrected
&lt;span style="color: red; text-decoration: line-through;">Typo to be corrected</span>  → <span style="color: red; text-decoration: line-through;">Typo to be corrected</span>

Nowiki for HTML

<nowiki />는 (HTML) 태그를 금지합니다:

  • <<nowiki />pre>  → <pre>

그러나 & 기호는 탈출하지 않습니다:

  • &<nowiki />amp;  → &

& 기호 탈출을 문자로 프린터하기 위해, "&amp;"를 "&" 문자를 대체해서 사용하십시오 (예를 들어, "&amp;nbsp;"를 입력하면, "&nbsp;" 결과로 나타납니다).

Other formatting

이전에 표시된 텍스트 서식 지정 마크업 외에도, 다음과 같은 다른 서식 참조가 있습니다:

Help:Contents에서 더 많은 참조를 찾을 수 있습니다.

References