Creating Gists
Yist provides multiple convenient ways to create new Gists. This chapter details the various creation methods and their features.
Quick Access
- Use the keyboard shortcut
⌘+N
- Click the New button in the toolbar
- Use the "New Gist from Pasteboard" option in the main menu
Creation Methods
Direct Input
- Enter file name and content in the new Gist window
- Yist automatically detects the programming language based on the file name and enables appropriate syntax highlighting
- Toggle the Gist's privacy setting (Secret/Public) using the lock button in the top-right corner
Import Local Files
- Drag and drop files from Finder to the window
- Copy files and paste them in the new Gist window
- Use the "Add File" button to select local files
Create from Clipboard
- Copy code or text content
- Use the "New Gist from Pasteboard" menu item to create directly
Important Notes
- Yist only supports text file uploads, binary files are not supported
- You can specify which Collection the Gist belongs to during creation
- Default privacy settings for new Gists can be configured in the settings
Saving Options
The toolbar provides two saving options when creating a Gist:
- Save to GitHub: Directly synchronize to GitHub Gist service
- Save Draft: Save locally only, with the option to sync later