내친김에 Textcube용 Textile formatter도 만들어 보았다. markdown, textile의 모든 경우에 modern editor가 반드시 HTML모드 편집이어야 한다는 제약 조건이 존재한다. 아래는 테스트 문서. h2{color:green}. This is a title h3. This is a subhead p{color:red}. This is some text of dubious character. Isn't the use of "quotes" just lazy writing -- and theft of 'intellectual property' besides? I think the time has come to see a block quote. bq[fr]. This is a block quote. I'll admit it's not the most exciting block quote ever devised. Simple list: #{color:blue} one # two # three Multi-level list: # one ## aye ## bee ## see # two ## x ## y # three Mixed list: * Point one * Point two ## Step 1 ## Step 2 ## Step 3 * Point three ** Sub point 1 ** Sub point 2 Well, that went well. How about we insert an old-fashioned hypertext link? Will the quote marks in the tags get messed up? No! "This is a link (optional title)":http://www.textism.com table{border:1px solid black}. |_. this|_. is|_. a|_. header| <{background:gray}. |\2. this is|{background:red;width:200px}. a|^<>{height:200px}. row| |this|<>{padding:10px}. is|^. another|(bob#bob). row| An image: !/common/textist.gif(optional alt text)! # Librarians rule # Yes they do # But you knew that Some more text of dubious character. Here is a noisome string of CAPITAL letters. Here is something we want to _emphasize_. That was a linebreak. And something to indicate *strength*. Of course I could use my own HTML tags if I felt like it. h3. Coding This is some code, "isn't it". Watch those quote marks! Now for some preformatted text:

	$text = str_replace("

%::%

","",$text); $text = str_replace("%::%

","",$text); $text = str_replace("%::%","",$text);
This isn't code. So you see, my friends: * The time is now * The time is not later * The time is not yesterday * We must act
크리에이티브 커먼즈 라이센스
Creative Commons License
2008/01/21 23:21 2008/01/21 23:21
트랙백이 없고, 댓글 2개가 달렸습니다.
ATOM Icon 이 글의 댓글이나 트랙백을 계속 따라가며 보고 싶으신 경우 ATOM 구독기로 이 피드를 구독하세요.

트랙백을 보내세요

트랙백 주소 :: https://forest.nubimaru.com/trackback/2041019