Textile and HTML
Sunday, July 31st, 2005Since all the previous posts and comments we imported from Movable Type had used the Textile plugin there, we had to enable the Textile 2.5 plugin for Wordpress. Ideally I would like to move away from Textile since Wordpress uses dynamic pages which means that The Textile plugin is applied to each post as it is rendered rather than once when it is saved as in Movable Type. But that would require editing all the previous posts and comments since Wordpress does not allow one to change the text filter per post.
One side-effect of the Textile plugin in Wordpress is that it is not allowing any regular HTML in the comments. Somehow, I can still include regular HTML in posts. Strange!
For now, I have added the instructions about how to comment in Urdu so that the correct styling is applied to the Urdu text. For other things, like hyperlinks, bold, etc., please take a look at the Textile usage instructions starting at line 67 at the linked page.
I’ll see if I can modify the plugin so that you can use either regular HTML or Textile tags, just like you could on the old Movable Type blog.
For the medium to long term, I would like to add quicktags to the comment textbox so that commenters can just click on the buttons provided to bold some text or create a hyperlink or mark word(s) or paragraphs as being in Urdu or English, etc.
UPDATE: Now you can use HTML in comments. However, for Urdu styling, use the instructions above the comment box.