Improve wiki formatting for preformatted text and lists

We now format a paragraph that contains at least one line with
manual indentation as a pre-formatted text block.  This fixes
the case presented by dbort in GERRIT-134:

key_passwords[None] = None # comment explaining why
for k in sorted(keylist):
 if not k:
 p = subprocess...

The entire block is now preformatted.

We also now format paragraphs that contain lines starting with "- "
or "* " as a list, with each line being a unique item in that list.

Bug: GERRIT-134
Signed-off-by: Shawn O. Pearce <>
1 file changed
tree: db056a980f602c4d9dda03fb7df2c0f8734dd69b
  1. .gitignore
  2. .settings/
  4. pom.xml
  5. src/