浏览代码

improves README

Duane May 10 年之前
父节点
当前提交
6ec6bc36a9
共有 1 个文件被更改,包括 10 次插入8 次删除
  1. 10 8
      src/extensions/natural-sorting/README.md

+ 10 - 8
src/extensions/natural-sorting/README.md

@@ -9,17 +9,19 @@ Use Plugin: [bootstrap-table-natural-sorting](https://github.com/wenzhixin/boots
 ```
 
 add a data-sorter atribute to any th. 
-*e.g.* ```<th data-sortable="true" data-sorter="alphanum">Price</th>```
+*e.g.* ``` <th data-sortable="true" data-sorter="alphanum">Price</th>```
 
 ## Options
 
-* *alphanum* - sort alpha or numeric content naturally.
-    This can be used in columns that contain text or numeric content. 
-    Numbers will be sorted as expected 
+### alphanum
+* sort alpha or numeric content naturally.
+* This can be used in columns that contain text or numeric content. 
+* Numbers will be sorted as expected and not in ASCII order 
 
-* *numericOnly* - extract numeric content and sort numerically.  
-  This can be used in columns that contain formated numeric content. 
-  e.g. $ and , will be removed, then Numbers will be sorted as expected
-  an alpha sort crrently sorts these as ASCII so you get $1, $100, $2, $20
+### numericOnly
+* extract numeric content and sort numerically.  
+* This can be used in columns that contain formated numeric content. 
+*  *e.g.* $ and , will be removed, then Numbers will be sorted as expected
+* an alpha sort crrently sorts these as ASCII so you get $1, $100, $2, $20
   instead of $1, $2, $20, $100.