태그:
새태그
, 모든 태그

TWiki Editing Shorthand

TWiki 편집 방법 요약

Formatting Command: You write: You get:
문단:
빈 줄을 만들면 자동으로 문단이 구분된다.
첫번째 문단

두번째 문단

첫번째 문단

두번째 문단

제목줄(Headings):
줄의 시작에 세개 이상의 빼기(dashe;-)와 더하기(+)를 사용하면 제목줄이 됩니다. 더하기의 개수가 제목줄의 단계가 됩니다. 제목줄은 6단계까지 사용할수 있다.

%TOC% 변수를 사용햐여 제목 차례를 만들 수 있다. 특정 제목줄이 차례에 나타나지 않게 하려면 ---+ 뒤에 !! 를 넣으면 된다

ALERT! 빈 제목줄도 만들 수 있으며 차례에 나오지 않는다.

---++ 제목 1
---+++ 제목 2
---+++!! 이건 차례에 나오지 않아요

제목 1

제목 2

이건 차례에 나오지 않아요

굵은 글자(Bold):
* 로 단어를 둘러싸면 굵은 글자가 된다. (현재 한글에서 잘 안됨)
*Bold*

Bold

Italic Text:
Words get shown in italic by enclosing them in _ underscores. (현재 한글에서 잘 안됨)
_Italic_

Italic

Bold Italic:
Words get shown in bold italic by enclosing them in __ double-underscores. (현재 한글에서 잘 안됨)
__Bold italic__

Bold italic

Fixed Font:
Words get shown in fixed font by enclosing them in = equal signs. (현재 한글에서 잘 안됨)
=Fixed font=

Fixed font

Bold Fixed Font:
Words get shown in bold fixed font by enclosing them in double equal signs. (현재 한글에서 잘 안됨)
==Bold fixed==

Bold fixed

TIP You can follow the closing bold, italic, or other (* _ __ = ==) indicator with normal punctuation, such as commas and full stops.

ALERT! Make sure there is no space between the text and the indicators. (현재 한글에서 잘 안됨)

_This works_,
_this does not _

This works,
_this does not _

Verbatim Text:
Verbatim을 사용하면 위키 문법을 적용하지 않고 입력한 그대로의 출력을 보여준다. Verbatim을 사용하려면 적용할 내용을 <verbatim></verbatim> 태그로 둘러싸면 된다..
TIP verbatim 태그는 심지어 HTML태그도 무시한다. <pre></pre> 태그는 HTML 태그를 해석한다..
ALERT! NOTE: 변수를 만드는 문법 (* Set NAME = value) 은 Verbatim 태그 안에서도 작동한다.
<verbatim>
class CatAnimal {
  void purr() {
    <code here>
  }
}
</verbatim>
class CatAnimal {
  void purr() {
    <code here>
  }
}
가로줄:
줄앞에 3개이상의 빼기(-)를 넣으면 가로줄이 된다.
-------


리스트(Bulleted List):
줄 앞에서 세칸을 띄우고 별표(*)를 쓰고 한칸 더 띄우면 리스트가 된다.
HELPFor all the list types, you can break a list item over several lines by indenting lines after the first one by at least 3 spaces.
   * level 1
      * level 2
   * back on 1
   * A bullet
     broken over
     three lines
   * last bullet

  • level 1
    • level 2
  • back on 1
  • A bullet broken over three lines
  • last bullet
숫자 리스트:
줄앞에 공백 3개, 타입 문자, 점, 공백을 사용한다. 숫자외에도 여러 종류의 타입이 있다.
Type Generated Style Sample Sequence
1. Arabic numerals 1, 2, 3, 4...
A. Uppercase letters A, B, C, D...
a. Lowercase letters a, b, c, d...
I. Uppercase Roman Numerals I, II, III, IV...
i. Lowercase Roman Numerals i, ii, iii, iv...
   1. Sushi
   1. Dim Sum
   1. Fondue

   A. Sushi
   A. Dim Sum
   A. Fondue

   i. Sushi
   i. Dim Sum
   i. Fondue

  1. Sushi
  2. Dim Sum
  3. Fondue

  1. Sushi
  2. Dim Sum
  3. Fondue

  1. Sushi
  2. Dim Sum
  3. Fondue
정의 리스트:
빈칸 3개, $, 용어:, 빈칸, 정의 를 사용하면 정의 리스트가 된다.

Deprecated syntax: Three spaces, the term with no spaces, a colon, a space, followed by the definition.

   $ Sushi: Japan
   $ Dim Sum: S.F.

Sushi
Japan
Dim Sum
S.F.
표(테이블):
입력할때 한 줄이 표의 여러 칸을 포함한 한 줄이 된다. 각 칸의 시작과 끝은 세로줄(|)로 표시한다. 줄 앞의 모든 공백은 무시된다.
  • | *bold* | 별표를 사용해서 표의 첫줄(헤더)에 굵은 글자를 넣을 수 있따.
  • |   center-aligned   | 양쪽에 같은 수의 빈칸을 넣으면 가운데 정렬이 된다.
  • |      right-aligned | 왼쪽에 더 많은 빈칸을 넣으면 오른쪽 정렬이 된다.
  • | 2 colspan || 칸을 확장하려면 오른쪽에 여러개의 세로줄( |)을 넣으면 된다.
  • |^| 윗칸이 세로로 확장된다.
  • 줄 끝에 역슬래시 '\' 를 사용해서 표의 한줄을 여러 개의 줄로 나눠서 입력할 수 있따.
  • 표의 내용은 웹브라우저에 의해서 자동으로 wrap된다.
  • 테이블에 | 를 넣고 싶으면 %VBAR%&#124; 를 사용한다.
  • 테이블에 ^ 를 넣고 싶으면 %CARET%= 나 &#94; 를 사용한다.
TIP TablePlugin|^| 칸 확장 기능과 다른 여러 기능을 제공한다.
| *L* | *C* | *R* |
| A2 |  B2  |  C2 |
| A3 |  B3  |  C3 |
| multi span |||
| A5-7 |  5  |  5 |
|^| six | six |
|^| seven | seven |
| split\
  | over\
  | 3 lines |
| A9 |  B9  |  C9 |

L C R
A2 B2 C2
A3 B3 C3
multi span
A5-7 5 5
six six
seven seven
split over 3 lines
A9 B9 C9
위키워드(WikiWord? ) 링크:
위키워드(WikiWords? ) 는 괄호나 빈칸에 의해 구분되면 자동으로 링크가 된다..
TIP 다른 웹의 토픽에 대한 링크를 만들고 싶으면 다음처럼 한다. Otherweb.TopicName.
하위 웹의 토픽에 대한 링크를 만들고 싶으면 Otherweb.Subweb.TopicName 처럼 한다.
HELP 화면에 표시될때 자동으로 웹에 대한 내용을 지우고 토픽이름만 표시한다. As an exception, the name of the web is shown for the WebHome topic.
ALERT! 마침표 '.' 는 웹과 토픽 이름을 분리하는데 사용되기 때문에 토픽이름에 마침표를 사용해서는 안된다.

WebStatistics

Sandbox.WebNotify

Sandbox.WebHome

Sandbox.Subweb.TopicName

WebStatistics

WebNotify

Sandbox

TopicName

앵커(Anchors):
문서(토픽) 안에 앵커라는 참조를 만들고 링크에 사용할 수 있다. 앵커를 정의 하려면 줄의 가장 앞에 #AnchorName 를 적는다. 앵커의 이름은 반트시 위키워드여야하고 32 글자를 넘으면 안된다. 앵커에 대한 링크를 만드려면 [[MyTopic#MyAnchor]] 를 사용한다. 같은 문서 안에서는 문서이름을 쓰지 않아도 된다.
[[WikiWord#NotThere]]

[[#MyAnchor][Jump]]

#MyAnchor To here

WikiWord#NotThere?

Jump

To here

강제 링크:
이중 각괄호를 이용해서 강제 링크를 만들 수 있다.
각괄호 안의 문자열은 빈칸을 포함할 수 있다. 이 빈칸은 자동으로 없어지고 다음 글자를 대문자로 취급한다. 예를 들어 [[text formatting FAQ]]TextFormattingFAQ? 로 링크된다. 또한 다른 웹과 앵커에 대한 참조도 사용할 수 있다.
TIP To "escape" double square brackets that would otherwise make a link, prefix the leading left square bracket with an exclamation point.
[[wiki syntax]]

[[Main.TWiki groups]]

escaped:
![[wiki syntax]]

wiki syntax?

Main.TWiki groups

escaped: [[wiki syntax]]

링크 라벨 만들기:
다음처럼 실제 링크위치와 다른 라벨을 만들어 화면에 표시할 수 있다. [[reference][text]]. 내부링크 (e.g. WikiSyntax? ) 와 URL (e.g. http://TWiki.org/) 모두 가능하다. The rules described under Forced Links apply for internal link references.
TIP Anchor names can be added as well, to create a link to a specific place in a topic.
[[WikiSyntax][wiki syntax]]

[[http://gnu.org][GNU]]

wiki syntax?

GNU

링크를 막는 방법:
위키워드(WikiWord? )가 자동으로 링크가 되는 것을 막으려면 앞에 느낌표(!)를 넣으면 된다.
!SunOS
SunOS
링크를 막는 다른 방법:
<noautolink></noautolink> 태그 안에서는 WikiWord? 가 자동으로 링크되지 않는다.
 <noautolink>
 RedHat & SuSE
 </noautolink>

RedHat & SuSE

Mailto 링크:
E-mail addresses are linked automatically. To create e-mail links that have more descriptive link text, specify subject lines or message bodies, or omit the e-mail address, you can write [[mailto:user@domain][descriptive text]].
a@b.com

[[mailto:a@b.com]\
[Mail]]

[[mailto:?subject=\
Hi][Hi]]

a@b.com

Mail

Hi

Literal content:
TWiki generates HTML code from TWiki shorthand. Experts surround anything that must be output literally in the HTML code, without the application of TWiki shorthand rules, with <literal>..</literal> tags. ALERT! any HTML within literal tags must be well formed i.e. all tags must be properly closed before the end of the literal block. IDEA! TWiki Variables are expanded within literal blocks.
<literal>
| Not | A | Table |
<literal>
| Not | A | Table |
Protected content:
Experts protect text from mangling by WYSIWYG editors using <sticky>..</sticky> tags. Sticky tags don't have any effect on normal topic display; they are only relevant when content has to be protected from a WYSIWYG editor (usually because it isn't well-formed HTML, or because it is HTML that WYSIWYG would normally filter out or modify). Protected content appears as plain text in the WYSIWYG editor.
<sticky>
<div>
This div is required
</div>
<sticky>

This div is required

Topic revision: r2 - 06 Jun 2008 - 16:15:57 - BeomsuChang
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback