mirror of
https://github.com/hoornet/vega.git
synced 2026-04-26 07:40:01 -07:00
Syntax highlighting: shared markdown renderer with highlight.js (atom-one-dark theme), 12 language grammars registered (JS, TS, Python, Rust, Go, Bash, JSON, YAML, SQL, CSS, HTML, Markdown). Applied to both article reader and editor preview. OS notifications: Tauri notification plugin for mentions, DMs, and zaps. Per-type toggles in Settings with custom toggle switches. Fires on new unread mentions/DMs; requests OS permission on first enable. Notification utility at src/lib/notifications.ts.
27 lines
539 B
JSON
27 lines
539 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"opener:default",
|
|
"updater:default",
|
|
"process:default",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{ "url": "https://nostr.build/**" }
|
|
]
|
|
},
|
|
"dialog:default",
|
|
{
|
|
"identifier": "fs:allow-read-file",
|
|
"allow": [
|
|
{ "path": "**" }
|
|
]
|
|
},
|
|
"notification:default"
|
|
]
|
|
}
|