내친김에 Textcube용 Textile formatter도 만들어 보았다. markdown, textile의 모든 경우에 modern editor가 반드시 HTML모드 편집이어야 한다는 제약 조건이 존재한다.

아래는 테스트 문서.

This is a title

This is a subhead

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.

This is a block quote. I’ll admit it’s not the most exciting block quote ever devised.

Simple list:

  1. one
  2. two
  1. three

Multi-level list:

  1. one
    1. aye
    2. bee
    1. see
    2. two
    3. x
    1. y
  1. three

Mixed list:

  • Point one
  • Point two
    1. Step 1
    2. Step 2
    1. Step 3
    2. 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

this is a header
this is a row
this is another row

An image:

optional alt text

  1. Librarians rule
  2. Yes they do
  1. 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.

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
이올린에 북마크하기(0) 이올린에 추천하기(0)

"물리와 셈틀 이야기" 카테고리의 다른 글

Posted by inureyes

2008/01/21 23:21 2008/01/21 23:21
Response
No Trackback , 2 Comments
RSS :
http://forest.nubimaru.com/rss/response/2041019

Trackback URL : http://forest.nubimaru.com/trackback/2041019

Comments List

  1. yy 2008/01/21 23:35 # M/D Reply Permalink

    ㅅㄱㅅㄱ

    1. inureyes 2008/01/23 15:27 # M/D Permalink

      흐흐 textile쪽이 markdown보다는 여러가지를 할 수가 있더군요. 그래도 시맨틱하게 읽히는 족은 markdown이 더 나은 것 같습니다.^^

Leave a comment
[로그인][오픈아이디란?]
« Previous : 1 : ... 101 : 102 : 103 : 104 : 105 : 106 : 107 : 108 : 109 : ... 1013 : Next »

블로그 이미지

시간의 토양에 기억의 나무를 심으며

- inureyes

Calendar

«   2008/07   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
256명이 RSS를 구독하고 있습니다.

지난 글들

Creative Commons License

이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.