diff options
-rwxr-xr-x | htindex | 8 | ||||
-rw-r--r-- | test.em | 2 | ||||
-rw-r--r-- | test.html | 1 |
3 files changed, 9 insertions, 2 deletions
@@ -67,8 +67,12 @@ source $* | awk ' gsub("[ÙÚÛÜùúûü]", "u", s) gsub("[×]", "x", s) gsub("[Ýýÿ]", "y", s) - gsub("[^-a-z_ ]", "", s) - gsub("[ ]+", "-", s) + gsub("[/]", "-", s) + gsub("[ \n]+\\+[ \n]+", "+", s) + gsub("[ \n]+=[ \n]+", "=", s) + gsub("[ \n]+", "-", s) + gsub("[^=-+a-z0-9_ ]", "", s) + gsub("-+", "-", s) return s } ' @@ -36,5 +36,7 @@ ordered list item. long term: long definition +=== 1 + 1 = 2 === + code block with two lines @@ -57,6 +57,7 @@ ordered list item. definition </dd> </dl> +<h3 id="1+1=2">1 + 1 = 2</h3> <pre> code block with two lines |