From f5a42b975112f8f70b6cc11163c51e69371623cd Mon Sep 17 00:00:00 2001 From: LeeWannacott Date: Sat, 30 Mar 2024 22:15:03 +1300 Subject: [PATCH] Format readme and swap cdn scripts. --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 7614000..c458b05 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,13 @@ - Option 1: Load as script from a Content Delivery Network (CDN): ```javascript - + ``` -Or Minified (smaller size, but harder to debug!): +Or non-minified version (larger size, but easier to debug!): ```javascript - + ``` Example on how to use table-sort-js with [HTML](https://leewannacott.github.io/table-sort-js/docs/html5.html) @@ -70,14 +70,14 @@ Examples on using table-sort-js with frontend frameworks such as [React.js](http
-| <th> Inferred Classes. | Description | -| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| "numeric-sort" | Sorts numbers including decimals - Positive, Negative (in both minus and parenthesis representations). -| | Supports common currencies e.g ($£€¥) and percentage signs e.g (0.39%) | -| "dates-dmy-sort" | Sorts dates in dd/mm/yyyy format. e.g (18/10/1995). Can use "/" or "-" as separator. | -| "dates-ymd-sort" | Sorts dates in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) yyyy/mm/dd format. e.g (2021/10/28). Use "/" or "-" as separator. | -| "file-size-sort" | Sorts file sizes(B->TiB) uses the binary prefix. (e.g 10 B, 100 KiB, 1 MiB); optional space between number and prefix. | -| "runtime-sort" | Sorts runtime in hours minutes and seconds e.g (10h 1m 20s). Useful for sorting the GitHub actions Run time column... | +| <th> Inferred Classes. | Description | +| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | +| "numeric-sort" | Sorts numbers including decimals - Positive, Negative (in both minus and parenthesis representations). | +| | Supports common currencies e.g ($£€¥) and percentage signs e.g (0.39%) | +| "dates-dmy-sort" | Sorts dates in dd/mm/yyyy format. e.g (18/10/1995). Can use "/" or "-" as separator. | +| "dates-ymd-sort" | Sorts dates in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) yyyy/mm/dd format. e.g (2021/10/28). Use "/" or "-" as separator. | +| "file-size-sort" | Sorts file sizes(B->TiB) uses the binary prefix. (e.g 10 B, 100 KiB, 1 MiB); optional space between number and prefix. | +| "runtime-sort" | Sorts runtime in hours minutes and seconds e.g (10h 1m 20s). Useful for sorting the GitHub actions Run time column... |