Notes Transformations - AndrewStanton94/mutext GitHub Wiki
Types of transformations
Substitution
- RegEx
- String
Conversions between formats
- HTML <==> MD
HTML tidying
- Attributes
- Remove attributes (all | some (whitelist | blacklist))
- Add attributes
- Styles
- Remove
- Detect
- Attributes duplicate
- and fix syntax errors E.g.
linot in aul
- Empty elements
- Tags
- Add
- Remove
- Swap
Links
- Check validity of the link
- Remove / Add attributes
- Remove / Add URL paths | args | anchors
- Encode characters
- Strip spaces from urls / emails
- Take data and make it a valid link. Need to support
- URL
- Phones
Other
- Sorting & grouping
- Alphabetical
- Numeric
- Custom orders
- Nested sorting
- Formatting
- Text
- Case
- Code
- Text
- Email | Phone | URL detection and processing
- URL processing
- Break on delimiter
- ,
- ;
-
- (all the dashes?)
Advanced
-
Process delimited blocks (identify components)
-
JSON
- JSONata?
-
Pagination / breaking down large collections
-
Workflows. Load data work through each of them in turn. Could include manual tweak?
Wrapping elements
Compare text
- Identical (Case sensitivity?)
- Similarity
- Diff
- Order of things
Detect duplicate elements
Extract salient info - useful values
Strip out Google paste bloat
Text case transformation Blacklist words
Sequence generators E.g. Numbers
Currency formatting