Raycast Manual
Raycast Manual
⬇️

How to import snippets?

You can import snippets from a JSON file using Import Snippets command (available in Raycast 1.37.0+).

image

JSON Format

  • Root object - Array of snippets
  • Snippet object
    • name - Snippet title. Type: String (required)
    • text - Snippet content. Type: String (required)
    • keyword - Auto-expansion keyword. Type: String (optional)
Example of “snippets.json” file
snippets.json0.3KB

After the import is completed, you will see how many snippets were added and how many duplicates were skipped. If a snippet has the same title and content, it’s considered to be a duplicate.

image
SlackXInstagram
[
  {
    "name": "Personal Email",
    "text": "sherlock@gmail.com",
    "keyword": "@@"
  },
  {
    "name": "Home Address",
    "text": "221B Baker St., London"
  },
  {
    "name": "Catchphrase 1",
    "text": "Elementary, my dear Watson",
    "keyword": "!elementary"
  }
]