Thursday, August 12, 2010

The Trouble with Textile

...is that there doesn't seem to be any good online source of documentation. Granted, Textile doesn't seem to need a lot of documentation. But it would be helpful. As a new Textiler, I wanted to create a hyperlink to an anchor, and I had to search around until I found this helpful post:
p(#anchorName). Inserts an anchor with "anchorName" as the ID into a "p" tag.
"Link":/path/#anchorName Links to the anchor; "/path/" can be omitted if the anchor is on the same page.

Perhaps it should have been obvious to the author of the post, but it wasn't to me. Also unclear to me was the fact that the "." at the end is part of the Textile markup, not the English sentence--the Textile code won't compile properly without it. That shows how much of a novice I am, but it would be nice for novices like myself to have a resource to find this sort of thing out rather than hunting and testing for aeons (ok, tens of minutes).

I'm posting it here for posterity. :-)

No comments:

Post a Comment