텍스트큐브의 기본 포매터인 TTML의 위지윅 편집기 편한 듯 하면서도 약간은 부족한 부분이 있죠?
그래서 Textile 포매터를 사용해보려고 했는데 도무지 이건 뭐 어케 쓰는지 잘 모르겠더라구요.
찾아서 정리를 한번 해 보았습니다.
참고로 여기서 사용되는 문법에서 이상하다 싶으시면 문법 표기 앞 또는 뒤에 스페이스를 하나 넣어보세요.
내부 소스에서 공백을 끝나는 문자로 찾는 부분이 간간히 보입니다.
일단 가장 필요한 테이블부터
Table
|a|b|c|
|1|2|3|
Table valign: top
|a|b|c|
|^. 1|2|3|
Table with Header
|_. a|_. b|_. c|
|1|2|3|
Table with Table Style
table{border: 1px solid black}.
|a|b|c|
|1|2|3|
Table with Row Style
{background-color: #ddd}. |a|b|c|
|1|2|3|
Table with Col Style
|{border: 1px solid black}. a|b|c|
|1|2|3|
Table (Col span)
|a|\2. b|
|1|2|3|
Table (Row span)
|/2.a|b|c|
|2|3|
Table with Raw HTML
==<style>
table {border-collapse: collapse}
th {background-color: #ddd; border: 1px solid}
td {border: 1px solid; padding: 3px}
</style>==
|_. a|_. b|_. c|
|1|2|3|
다른 것들
| Group | Type | Format | Sample |
|---|---|---|---|
| Block Modifiers | Header | h<n>. header-string n은 1 ~ 6 |
|
| Blockquote | bq. | ||
| Paragraph | p. | ||
| Block code | bc. | ||
| Pre-formatted | pre. | ||
| Footnote | some text [<n>] fn<n>. some text |
||
| Numeric list | # Text |
|
|
| Bulleted list | * Text |
|
|
| Phrase Modifiers | Emphasis | _Text_ |
Text |
| Italic | __Text__ |
Text | |
| Strong | *Text* |
Text | |
| Bold | **Text** |
Text | |
| Citation | ??Text?? |
Text | |
| Deleted Text | -Text- |
||
| Inserted Text | +Text+ |
Text | |
| Superscript | ^Text^ |
Text | |
| Subscript | ~Text~ |
Text | |
| Span | %Text% |
Text | |
| Code | @code@ | Text |
|
| Align | Left | < | Left |
| Right | > | Right | |
| Center | = | Center | |
| Justify | <> | Justify | |
| Link | Link | "linktext":url |
BSPFP Home |
| with Title | "linktext(title)":url |
BSPFP Home | |
| Image | !image-url! |
![]() |
|
| Image with alt text | !image-url(alt text)! |
![]() |
|
| Image with Link | !image-url!:linkurl | |
|
| Punctuation | Quote | "quotes" |
“quotes” |
| Quote | 'quotes' |
‘quotes’ | |
| Dash | -- |
— dash | |
| Cross | 2 x 4 |
2 × 4 | |
| Trademark | foo(tm) |
foo™ | |
| Registered | foo(r) |
foo® | |
| Copyright | foo(c) |
foo© | |
| 기타 | Acronym(두문자어) | BS(Bamboo Spear) |
BS(Bamboo Spear) |
| Raw HTML | ==<some tag></some tag>== |
||

by BSPFP