Formatting Text

Now that you know how to add code, let's look at text formatting in more detail.


In any type or add command, you can speak symbols like:

  1. type get underscore value
  2. type get dash value
  3. type get plus value
  4. type get left paren value right paren
  5. type get left paren quote value quote right paren

To produce the text:

  1. get_value
  2. get - value
  3. get + value
  4. get(value)
  5. get("value")

For a full list, check out the Command Reference.

To escape a symbol, you can say:

type get escape underscore value

Which will produce:

get underscore value


You can also surround text with symbols. For instance, you can say:

  1. type in parens get value
  2. type in quotes get value
  3. type in double quotes get value
  4. type in brackets get value
  5. type in braces get value
  6. type in comparators get value

In order to produce:

  1. (get value)
  2. 'get value'
  3. "get value"
  4. [get value]
  5. {get value}
  6. <get value>

If the text you're trying to put inside symbols is really long, you might want to just use the individual characters to specify your code incrementally. For instance, rather than type in parens get value, you can also say:

type paren get value close paren

Text Styles

By default, text will consist of lowercase letters with spaces between words. You can also specify different text styles, like:

  • type capital get value
  • type camel case get value
  • type pascal case get value
  • type all caps get value
  • type underscores get value

In order to produce:

  • Get value
  • getValue
  • GetValue
  • get_value


Since HTML is common across many programming languages, you can also include tags in formatted text with commands like:

type quote tag div quote


Serenade supports styling entire source files for you, so you don't have to worry about getting the spacing perfect when dictating commands. To auto-format the file you're working on, you can just say:

style file