Pier List Performance

For Pier, ordered lists can be created by starting the line with a hash. For example:

#First ordered item
#Second item

Is rendered as:

  1. First ordered item
  2. Second item

Unordered lists are created in a similar manner with dashes:

-An item
--A sub-item

for:

  • An item
    • A sub-item

These lists can be mixed, however if there are any spaces between the dashes or hashes then it will likely cause the image to crash. I discovered this with the following text:

- PRGoogleGadget>>buildTranslation
-- xml tagsNamed: #'Locale' childrenDoAndRecurse: [ :local ... ]
- PRGoogleGadget>>convertEnumPreference:
-- xml tagsNamed: #'EnumValue' childrenDoAndRecurse: [
- PRGoogleGadget>>refresh
-- HTTPSocket httpGet:
-- #tagsNamed:childrenDoAndRecurse:

The problem is the space in the last line between the dashes and the hash.

Posted by John Borden at 9 October 2019, 2:38 am with tags Pier link