This project is read-only.

Auto Hyperlinks?

Apr 22, 2008 at 8:55 PM
Edited Apr 22, 2008 at 9:54 PM
Is there a way to automatically find the hyperlinks in the document using Textile? If I have, can it find that link without the special formatting? Is this even advisable? I want to make it easier for people to make links. Instead of having to do "":

One other question. Can I use the Textile markup to set the target of the link?
May 20, 2008 at 5:35 PM
I think we could easily create a BlockModifier that would find URL strings, and wrap them with an HTML link.... funny, I thought it did that already, but apparently not... I'll add it in the next release. In the meantime, you can create a class inheriting from BlockModifier that would transform the input text as needed. You can register this new BlockModifier using TextileFormatter.RegisterBlockModifier().
Jun 29, 2008 at 5:41 AM
I tried to create a BlockModifier to do this.  However, it seems to interfere with the HyperlinkBlockModifier.  I'm sure I'm doing something wrong and I can send you the .cs file I created.  If you are planning on doing this, then I'll wait patiently for the next release.  Any release date?

Aug 5, 2008 at 1:30 AM
Hey, sorry for the late reply,
We haven't been able to make an auto-hyperlink feature work reliably yet, and it seems most of the other Textile implementations don't do that anyway... so for now, nothing on the horizon, sorry.