Permalink
Browse files

pmWiki: Changed tag for nested lists, now using repeated chars instea…

…d indentation. Sample file was updated. Closes issue 37.
  • Loading branch information...
1 parent 195fe26 commit f936c603790dfc3dbdf4fddf3ce90463b5b96a71 @aureliojargas aureliojargas committed Aug 5, 2010
Showing with 22 additions and 20 deletions.
  1. +17 −17 samples/sample.pmw
  2. +5 −3 txt2tags
View
@@ -105,14 +105,14 @@ just add '''spaces''' at the beginning of the line. More
spaces, more sublists.
* earth
- * america
- * south america
- * brazil
- * how deep can i go?
- * europe
- * lots of countries
+** america
+*** south america
+**** brazil
+***** how deep can i go?
+** europe
+*** lots of countries
* mars
- * who knows?
+** who knows?
The list ends with '''two''' consecutive blank lines.
@@ -124,10 +124,10 @@ identifier (plus).
# one
# two
# three
- * mixed lists!
- * what a mess
- # counting again
- # ...
+** mixed lists!
+** what a mess
+### counting again
+### ...
# four
!! Definition List
@@ -136,14 +136,14 @@ The definition list identifier is a colon, followed by
the term. The term contents is placed on the next line.
: orange:
- a yellow fruit
+a yellow fruit
: apple:
- a green or red fruit
+a green or red fruit
: other fruits:
- * wee!
- * mixing lists
- # again!
- # and again!
+** wee!
+** mixing lists
+### again!
+### and again!
! Tables
View
@@ -1178,8 +1178,8 @@ def getTags(config):
'fontStrikeOpen' : '{-' ,
'fontStrikeClose' : '-}' ,
# Lists
- 'listItemOpen' : '* ' ,
- 'numlistItemOpen' : '# ' ,
+ 'listItemLine' : '*' ,
+ 'numlistItemLine' : '#' ,
'deflistItem1Open' : ': ' ,
'deflistItem1Close' : ':' ,
'deflistItem2LineOpen' : '::' ,
@@ -1774,12 +1774,14 @@ def getRules(config):
'spacedlistitem':1,
'linkable':1,
'labelbeforelink':1,
- 'keeplistindent':1,
+ # 'keeplistindent':1,
'tableable':1,
'barinsidequote':1,
'tablecellstrip':1,
'autotocwithbars':1,
'autonumberlist':1,
+ 'spacedlistitemopen':1,
+ 'spacednumlistitemopen':1,
'imgalignable':1,
'tabletitlerowinbold':1,
'tablecellaligntype':'cell',

0 comments on commit f936c60

Please sign in to comment.