in reply to formatting with Text::WikiFormat

The uppercase linking is a bug. I've fixed it in my development version and I hope to upload a new version of the code in the next few days. (I want to write more documentation for Text::WikiFormat::Blocks first though.)

I'm not sure the right way to accomplish the highlighting. It might be nice to have customizable line-element formatting as there is with blocks. That'll take more code from me to make work though.

Replies are listed 'Best First'.
Re^2: formatting with Text::WikiFormat
by punkish (Priest) on Jul 14, 2005 at 11:42 UTC
    I've fixed it in my development version
    Thanks. Look forward to seeing it. In the meantime, I will work with the hack I've described above.

    It might be nice to have customizable line-element formatting as there is with blocks

    Yes. That, or some way of overriding existing methods or adding new methods. For example, besides highlighting, I also use strikeout and cleaner external links. If I depend on just T::W, an external link has to be written as [http://some.link.com] or [mailto:some@link.com] while I want to accomplish the above without the square brackets, and not have the URI scheme display.

    --

    when small people start casting long shadows, it is time to go to bed
Re: formatting with Text::WikiFormat - nested lists don't seem to work properly
by punkish (Priest) on Jul 16, 2005 at 13:37 UTC
    another "bug" --

    only two levels of nested lists work (I have tested only unordered lists)

    * this * that * other * something else * unrelated * related
    only two levels of indentation are produced. Third and higher levels of indentation are merged into the second level.
    --

    when small people start casting long shadows, it is time to go to bed

    Retitled by holli from 'nested lists don't seem to work properly'.

        I too like your idea of multiples asterisks to denote the level. Using spaces is very tricky -- a pain to count the spaces correctly, and tab doesn't quite work inside web form fields.

        is the formatting code for MaBliki available? if yes, I would like to look at it, and possibly use it in my application.

        --

        when small people start casting long shadows, it is time to go to bed

      I can't reproduce this, and I have tests for it with and without spaces (see t/lists-nested.t). Can you send me a test case?