General Settings
The General tab controls paste defaults, the code editor experience, and feature availability across the plugin.
Navigate to SnipShare → Settings → General to access these options.

Paste Defaults
Section titled “Paste Defaults”These settings pre-populate the create paste form for all users. Users can override them per paste.
Default Visibility
Section titled “Default Visibility”Controls which visibility option is pre-selected on the create form.
| Value | Description |
|---|---|
| Public | Paste appears in the archive and is browsable by anyone |
| Unlisted | Only accessible via direct link; does not appear in archives |
| Private | Only the paste owner can view it |
Setting key: default_visibility - Default: public
Default Expiration
Section titled “Default Expiration”Pre-selects an expiration period on the create form. Requires Paste Expiration to be enabled in Feature Toggles.
| Value | Description |
|---|---|
| Never | Paste does not expire |
| 1 Hour | Expires 1 hour after creation |
| 1 Day | Expires 24 hours after creation |
| 1 Week | Expires 7 days after creation |
| 1 Month | Expires 30 days after creation |
Setting key: default_expiration - Default: never
Max Paste Size (bytes)
Section titled “Max Paste Size (bytes)”Maximum combined content size for all files in a single paste. Set in bytes (minimum 1,000; step 1,000).
Setting key: max_paste_size - Default: 100000 (100 KB)
Max Pastes Per User
Section titled “Max Pastes Per User”Maximum number of pastes a single user can create. Set to 0 for unlimited.
Setting key: max_pastes_per_user - Default: 0 (unlimited)
Max Files Per Paste
Section titled “Max Files Per Paste”Maximum number of file tabs allowed in a single paste. Range: 1–50.
Setting key: max_files_per_paste - Default: 10
Editor
Section titled “Editor”Editor Theme
Section titled “Editor Theme”Controls the CodeMirror editor color scheme on the create/edit paste form.
| Value | Description |
|---|---|
| Light | Always use light theme |
| Dark | Always use dark theme |
| Auto | Follow the user’s system preference (prefers-color-scheme) |
Setting key: editor_theme - Default: auto
Line Numbers
Section titled “Line Numbers”When checked, line numbers appear in the left gutter of the CodeMirror editor.
Setting key: line_numbers - Default: true
Features
Section titled “Features”Individual feature toggles let you enable or disable specific functionality across the plugin. All features are enabled by default.
| Feature | Setting Key | Description |
|---|---|---|
| Paste Expiration | enable_expiration |
Allow users to set an automatic expiry date. When disabled, the expiration field is hidden on the create form. |
| Paste Forking | enable_forking |
Allow users to clone any public paste. When disabled, the Fork button is hidden. |
| Collections | enable_collections |
Allow users to organise pastes into named collections. |
| Stars / Favourites | enable_stars |
Allow users to star pastes to save them for later. |
| Burn After Read | enable_burn |
Allow users to create pastes that auto-delete after the first view. |
| Password Protection | enable_password |
Allow users to password-protect their pastes. |
| Tags | enable_tags |
Allow users to add searchable tags. |
| Content Reporting | enable_reporting |
Allow logged-in users to flag pastes for moderation review. |
Disabling a feature hides its UI but does not remove existing data. Re-enabling restores the UI and existing data is still accessible.

