create new tag
, view all tags

Feature Proposals » Use of tilde for unordered list without bullets


Current State: Developer: Reason: Date: Concerns By: Bug Tracking: Proposed For:
AcceptedProposal AaronLWalker AcceptedBy7DayFeedbackPeriod 2011-01-06     KampalaRelease

Edit Form

DateOfCommitment:   Format: YYYY-MM-DD


Pressing need for both normal bullets and more customized (specifically "ordered" bullets with parentheses, and more haphazardly ordered).

Yes, we could directly put the <li> tags right in the topic, but I want to make this as easy as possible for the users, and I want them to support their topics smile

So, add a tilde ~ as an option for unordered lists, so I can do things like in the examples below.

Description and Documentation

See the motivation. I've created some hacky code to make an unordered list using a tilde rather than an asterisk. I'm just curious as to how many other things this may break.


Here is what I added to Render.pm, right after Unnumbered list elsif block:
            elsif ( $line =~ s/^((\t|   )+)\~ /<li style="list-style-type: none"> /o ) {
                # Unnumbered list
                _addListItem( $this, \@result, 'ul', 'li', $1 );
                $isList = 1;
(Yes, I should use a css class instead, but I'm not smart enough for that yet).

Essentially to be able to do bullets like:

  • (1)item one
  • (3)item two

I need parentheses, and I need varied "ordering", and I want it as simple as possible for the users.


WhatDoesItAffect: Rendering


-- Contributors: AaronLWalker - 2011-01-06


Good point. Possibly use a more generic solution with a %LIST{ type="none" }% at the beginning of the list? See my comment at proposal OverridingNumericLists. What that fit your needs?

-- PeterThoeny - 2011-01-06

Frankly, I think I would like both solutions smile I like the ease of a single character, but I can see the value of %LIST%.

-- AaronLWalker - 2011-01-07

I set this to accepted proposal state. Please don't forget to update the docs as well.

-- PeterThoeny - 2011-02-02

We have never seen this implemented and documented.

May be obsolete now we are going to have the new IconBulletLists feature?

-- PeterThoeny - 2012-10-18

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2013-10-11 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.