unstyle

Learn how to use the unstyle function in Notion formulas.

New in Formulas 2.0

The unstyle() function removes styles from a string. If no styles are specified, all styles are removed.

unstyle(string, string [optional])

string.unstyle(string [optional])
Code language: JavaScript (javascript)

For a list of styles that can selected for removal, please refer to the style function.

unstyle("Thomas Frank")

"College Info Geek".unstyle("s")
Code language: JavaScript (javascript)

The first example will convert “Thomas Frank” to “Thomas Frank”, and the second example will convert “College Info Geek” to “College Info Geek“.

About the Author

My name is Thomas Frank, and I'm a Notion-certified writer, YouTuber, and template creator. I've been using Notion since 2018 to organize my personal life and to run my business and YouTube channel. In addition to this formula reference, I've created a free Notion course for beginners and several productivity-focused Notion templates. If you'd like to connect, follow me on Twitter.

🤔 Have an UB Question?

Fill out the form below and I’ll answer as soon as I can! ~Thomas

🤔 Have a Question?

Fill out the form below and I’ll answer as soon as I can! ~Thomas