Text: Convert to slugified text
Use this action to convert tex to slugified text. Slugified text is typically used as a naming convention in programming languages, particularly in URLs, and is the practice of writing phrases without spaces or punctuation, and separating each word with a hyphen, -
. For example to slugify the pharase The quick brown fox
, would be the-quick-brown-fox
.
Example | Result |
---|---|
quick brown fox | quick-brown-fox |
Café Lāzy Dog | cafe-lazy-dog |
QUICK! Brown, fox! | quick-brown-fox |
Café brown fox QUICK BROWN FOX |
cafe-brown-fox-quick-brown-fox |
How to configure this action
When configuring this action, enter a string or reference a field in the Source Text field configuration. How do I reference a field?
Fields for this action
-
Source Text
- The string to perform the operation on. Enter text or reference a text field.
-
Output field prefix
- To help keep output fields organized, choose an output field prefix to add to the beginning of each output field name as this action may output more than one field.
What will this output?
This action may generate multiple fields. To help keep output fields organized, the prefix above will be added to the beginning of each of the output field names, separated by two dashes. Each field will result as:{{output-field-prefix--output-field}}
.
Output fields for this action
-
Resulting Text
- The result of the operation. The output is a long text type field.
Thanks for your feedback
We update the Help Center daily, so expect changes soon.
Link Copied
Paste this URL anywhere to link straight to the section.