Skip to main content

Textiler plugin test page

This post is for testing Textiler plugin.

This plugin uses Textile engine (version 2.0.0).

The sample text is come from Textile test page.

(Note that the result will be vary according to your CSS options.)















Supported wiki syntaxRendering result

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 <a href="/" title="watch out">old-fashioned hypertext link</a>? 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 <em>my own HTML tags</em> if I <strong>felt</strong> like it.

h3. Coding

This <code>is some code, "isn't it"</code>. Watch those quote marks! Now for some preformatted text:

<pre>
<code>
$text = str_replace("%::%","",$text);
</code>
</pre>

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

{{{
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);



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

}}}

Comments

  1. Hi,

    I am testing your plugin right now, does this textiler plugin affect just the post entries or also the comments?

    Any help would be greatly appreciated.

    ReplyDelete
  2. This plugin only affects the post entries. I didn't think that all guests know the textile syntax.

    ReplyDelete
  3. I was thinking that there could be an option done for comments too.

    True, guests won't know textile, but there is always a guide for them on the comment page. Perhaps you could include this in the next release. By the way, is textiler compatible with WordPress 2.3

    ReplyDelete
  4. It's a good idea to have an option to apply the texile syntax in comments. I'll include the feature in the next release. (To be frankly with you, it's more difficult to make option page than the feature itself. :-) )

    And, I didn't test this with 2.3 yet, but I think that there will be no problem. Before the next release, I'll test it, also.

    ReplyDelete
  5. {{{
    _This comment is for testing "Textiler":http://ideathinking.com/wiki/index.php/WordPress:TextilerPlugin in comment._

    _emphasize_, *strength*

    * item1
    ## item2
    ## item3

    bq. This is a block quote.
    }}}

    ReplyDelete
  6. I noticed textile caused the problem with my encoding in my RSS Feed, I can't seem to view Chinese characters. After I deactivated the plugin, I can see the characters again. Do you know how I can fix the problem?

    ReplyDelete
  7. {{{
    Hmm... I tested the Chinese characters with ones in your blog. (楊丞琳 - 任意門 Review) But I couldn't find any problem in the feed. (see my "_Comments RSS_":http://ideathinking.com/blog-v2/?feed=comments-rss2 for this comment.)

    I put the new release to "WordPress plugin page.":http://wordpress.org/extend/plugins/textiler/ It supports the comment textiler and adds a configuration page. I fix some options of filtering, also.

    Try this new release, and if the problem is still there, let me know. (The plugin list you are using might be very helpful.)
    }}}

    ReplyDelete
  8. I know, the Chinese characters are showing in my original feed at http://www.limetouch.com/feed/ but not at http://feeds.feedburner.com/limetouch/.

    The plugins I am using are

    Akismet
    Flickr RSS
    Simple Tagging
    Full Text Feed
    Google Analyticator
    Gravatars2


    Hope that helped. Looking forward to your favorable reply

    ReplyDelete
  9. Update: the problem appeared the minute I started using textiler.

    ReplyDelete
  10. [...] see all supported Textile syntax, go Textiler plugin test page or Textile [...]

    ReplyDelete
  11. 좋네요. 잘되고요. 그런데... 이거 부분적으로 쓰는 괄호도 좋은데.. edit화면에 selection이 있어서... !http://img299.imageshack.us/img299/2495/exdd9.jpg(예제 이미지)! 이런식으로 포스트 쓸 때 고를 수는 없나요. 그런 식으로 골랐을 때 xhtml(기존워드프레스 방식)으로 쓸 때는 괄호넣은 걸 쓰면 그곳만 되도록 하고...^^; 복잡한가요? 아무튼 잘 쓸게요^^

    ReplyDelete
  12. Hi from korea,

    I just wanted to say that I don't think this plugin is working with WP 2.5.1. Just as a notice to other users, because it doesn't look like Textiler is being maintained anymore.

    ReplyDelete
  13. Hey Chingu, are you going to update this plugin so it compatible with 2.51?

    ReplyDelete
  14. It seems to work with WP 2.5.1. What problems do you have?

    ReplyDelete
  15. oops -- the curly brackets in that last comment disappeared.

    ReplyDelete
  16. The problem is I can't put the {{{ and }}} anywhere without them showing up on the page.
    I'm using this theme:
    http://themes.wordpress.net/columns/4-columns/2002/susy-10/

    Do you have any suggestions about where I should place the {{{ }}} in the templates so that they are invisible, and activate the textiler code?

    ReplyDelete
  17. [...] see all supported Textile syntax, go Textiler plugin test page or Textile [...]

    ReplyDelete
  18. My site has the plugin Textiler 1.1. As far as I can see, this is the most current plugin to handle TEXTILE markup. For some reason, it causes a line break before the very last list item in a list. For example...

    * Item 1
    * Item 2
    * Item 3

    Will display as:

    * Item 1
    * Item 2

    * Item 3

    It isn't my CSS, but the plugin for sure.
    Example page is at:
    http://www.idevgames.com/postmortems/chimps-ahoy

    Scroll to the bottom.

    ReplyDelete
  19. No, it is not your CSS. I looked your page source, and it had another ul tag for the last item.

    But as you can see in the last part of this post, the itemization is working correctly.

    So... what other plugins are you using? Could you turn them off one by one and check the result?

    ReplyDelete
  20. Hello, I posted a reply. But maybe it was deleted as spam?
    I have Aksimet, Platinum SEO, Shadow Box, ShareThis, Textiler and WP Page Numbers.

    If I turn them off, I still have the problem.

    ReplyDelete
  21. Hm... very strange. Are you using visual editor?

    ReplyDelete
  22. No, I am not using any visual editor.

    ReplyDelete
  23. Carlos, I'm so sorry. I can't make the same error as yours. Can you send me a smallest problematic post content via email?

    If I can see the same error with the content also, It'll be possible to find what the problem is and the solution.

    ReplyDelete
  24. Hi,

    I am using wp 2.9.2 and just installed your plugin, but can't get it to work. Do you know if there is a compatibility issue ?

    Thanks !
    M.

    ReplyDelete

Post a Comment

Popular posts from this blog

1의 개수 세기 - 해답

벌써 어제 말한 내일이 되었는데 답을 주신 분이 아무도 없어서 좀 뻘쭘하네요. :-P 그리고 어제 문제에 O(1)이라고 적었는데 엄밀히 얘기하자면 O(log 10 n)이라고 적었어야 했네요. 죄송합니다. ... 문제를 잠시 생각해보면 1~n까지의 수들 중 1의 개수를 얻기 위해서는 해당 숫자 n의 각 자리의 1의 개수가 모두 몇개나 될지를 구해서 더하면 된다는 사실을 알 수 있습니다. 예를 들어 13이라는 수를 생각해 보면 1~13까지의 수에서 1의 자리에는 1이 모두 몇개나 되는지와 10의 자리에는 모두 몇개나 되는지를 구해 이 값을 더하면 됩니다. 먼저 1의 자리를 생각해 보면 1, 11의 두 개가 있으며 10의 자리의 경우, 10, 11, 12, 13의 네 개가 있습니다. 따라서 2+4=6이라는 값을 구할 수 있습니다. 이번엔 234라는 수에서 10의 자리를 예로 들어 살펴 보겠습니다. 1~234라는 수들 중 10의 자리에 1이 들어가는 수는 10, 11, ..., 19, 110, 111, ... 119, 210, 211, ..., 219들로 모두 30개가 있음을 알 수 있습니다. 이 규칙들을 보면 해당 자리수의 1의 개수를 구하는 공식을 만들 수 있습니다. 234의 10의 자리에 해당하는 1의 개수는 ((234/100)+1)*10이 됩니다. 여기서 +1은 해당 자리수의 수가 0이 아닌 경우에만 더해집니다. 예를 들어 204라면 ((204/100)+0)*10으로 30개가 아닌 20개가 됩니다. 이런 방식으로 234의 각 자리수의 1의 개수를 구하면 1의 자리에 해당하는 1의 개수는 ((234/10)+1)*1=24개가 되고 100의 자리에 해당하는 개수는 ((234/1000)+1)*100=100이 됩니다. 이들 세 수를 모두 합하면 24+30+100=154개가 됩니다. 한가지 추가로 생각해야 할 점은 제일 큰 자리의 수가 1인 경우 위의 공식이 아닌 다른 공식이 필요하다는 점입니다. 예를 들어 123에서 100의 자리에 해당하는 1의 개수는 ((123/1

std::map에 insert하기

얼마전 회사 동료가 refactoring한 코드를 열심히 revert하고 있어서 물어보니 다음과 같은 문제였습니다. 원래 코드와 refactoring한 코드는 다음과 같더군요. nvp[name] = value; // original code nvp.insert(make_pair(name, value)); // refactored 아시겠지만 위의 두 라인은 전혀 다른 기능을 하죠. C++03에 보면 각각 다음과 같이 설명되어 있습니다. 23.1.2/7 Associative containers a_uniq.insert(t): pair<iterator, bool> inserts t if and only if there is no element in the container with key equivalent to the key of t. The bool component of the returned pair indicates whether the insertion takes place and the iterator component of the pair points to the element with key equivalent to the key of t. 23.3.1.2/1 map element access [lib.map.access] T& operator[](const key_type& x); Returns: (*((insert(make_pair(x, T()))).first)).second. 원래 코드는 매번 새 값으로 이전 값을 overwrite했지만 새 코드는 이전에 키가 존재하면 새값으로 overwrite하지 않습니다. 따라서 원래 기능이 제대로 동작하지 않게 된것이죠. 그래서 물어봤죠. "왜 이렇게 했어?" "insert가 성능이 더 좋다 그래서 했지." :-? 사실 Fowler 아저씨는 Refactoring 책에서 refactoring은 성능을 optimizing하기 위한 것이 아니다라

C++ of the Day #43 - SQLite3 C++ wrapper #1

The Definitive Guide to SQLite 를 읽다가 공부 겸 해서 C++ wrapper를 만들어 보았습니다. 최대한 C++ 냄새(?)가 나도록 만들어 보았습니다. :-) ((SQLite는 복잡한 관리가 필요없이 사용가능한, 파일이나 메모리 기반의, 라이브러리로 제공되는, 약 250kb 용량의, 대부분의 SQL92문을 지원하는, open source RDB입니다.)) 이 wrapper를 사용하기 위해서는 (당연하게도!) sqlite3 와 (당연하게도?) boost 라이브러리가 필요합니다. 사용 예들을 살펴보는 것으로 설명을 대신합니다. 이번 글에서는 다음과 같은 contacts 테이블이 test.db에 존재한다고 가정합니다. CREATE TABLE contacts ( id INTEGER PRIMARY KEY, name TEXT NOT NULL, phone TEXT NOT NULL, UNIQUE(name, phone) ); Command 먼저 test.db 파일을 사용하기 위해 다음과 같이 파일 이름을 주어 connection 객체를 생성합니다. 생성과 동시에 test.db와 연결이 이루어집니다. ((생성자외에 open() 함수를 사용할 수도 있습니다.)) sqlite3pp::connection conn("test.db"); 다음은 contacts 테이블에 정보를 추가하는 가장 간단한 방법입니다. connection 클래스에서 제공하는 execute 함수를 사용합니다. ((executef 함수를 사용하면 printf와 같은 문법을 사용하여 query문을 작성할 수 있습니다.)) conn.execute("INSERT INTO contacts (name, phone) VALUES ('user', '1234')"); 위와 동일한 작업을 parameterized query를 사용하여 할 수도 있습니다. ((step()함수가 실제 query문을 수행하는 함수입니다.