I have always looked at html as the best markup I can use for blogging or anything remotely connected to the web.
The thing is, I like it now more than ever. Especially after tingling a bit more with TextPattern. I chose Textile instead of Markdown with no particular reason. However, here’s a comparison from Stackoverflow if you want see one.:
- Used by Redmine and the Ruby community
- 5 questions currently tagged on Stack Overflow
- The most similar to HTML, but least readable source
- Easiest nested lists of all three languages
- Not understandable to non-programmers or the HTML-ignorant
- Ideal for complex short documents (with links, nested lists, code, custom HTML); for example: short documentation, how-tos, blog or CMS content
Doesn’t seem to have a home language “community” but…
- … 47 questions tagged on Stack Overflow
- Emphasizes source code readability, similar to email traditions
- Straightforward HTML embedding (you just type the tags out)
- No way to make tables besides embedding HTML
- You know it already if you know Stack Overflow
- Easy to learn if you already know reStructuredText
- Automatic email address obfuscation for the format (with angle brackets)
I have modified my blog to use Textile. In fact, this is first post I am writing in Textile. It’s kind of weird. Fun in a way, like learning a new language. I can’t say that it’s the best way to blog, but I trust it. I trust that the formatting will be better than most WYSIWYG editors I have tried though. Something which we will get to later on.
Using Textile (even in other lightweight markup languages) can make you very expressive. Using tons of ways to present your writing. I can write tables without being bombarded by the need to put
> signs everywhere just to create tags.
Full table with summary, caption, colgroups, thead, tfoot, 2x tbody
|This is the tfoot, centred|
|The Usual Suspects||Stephen Baldwin, Kevin Spacey||Bryan Singer||Chris McQuarrie||One of the finest films ever made|
|Se7en||Morgan Freeman, Brad Pitt||David Fincher||Andrew Kevin Walker||Great psychological thriller|
I can write Chemical formulas without thinking of matching tags.
Calcium borate: Ca3(BO3)2
WYSIWYG Editor Problems
One of problems with WYSIWYG editors, aside from the fact that they are heavy, is that they don’t produce clean markup. Yes, I am looking at you TinyMCE and CKEditor. You would see cluttered
<br/>s, which I don’t favor, everywhere. You see excessive unneeded
Lack of control on what you produce. I find myself switching to HTML view to modify the HTML produced by these editors. It can be cumbersome.
Thanks Dean Allen
I have to hand it to Dean Allen, the creator of both TextPattern and the Textile markup language. I have borrowed the
classTextile.php class from TextPattern to convert my posts from Textile to HTML. And to tell you frankly, I am having fun with this.
On a side note, I just learned that Sublime Text 3 Beta has just been released. I’ve just downloaded it. There is a considerable slowness though, compared to the second version. It’s still Beta, so I must say I forgive them.