VS Code settings and commands

2 min readUpdated Oct 30, 2026

Builds on Publish and sync.

Markdrop Sync works without any setup beyond signing in. Use these settings to change when it sends and fetches changes.

Settings

#

Open Settings (⌘, on macOS, Ctrl+, elsewhere) and search for "Markdrop", or add them to settings.json.

SettingDefaultWhat it does
markdrop.pushOnSavetrueSend a linked file to Markdrop when you save it. Turn it off to send only when you run Markdrop: Sync now (push).
markdrop.autoPulltrueBring changes made on markdrop.in into the local file. Turn it off and web edits stay on the web until you resolve them as a conflict on your next save.
markdrop.pollSeconds10How often, in seconds, to check the file in the active editor for web changes. The minimum is 5.
markdrop.apiUrlhttps://api.markdrop.inThe Markdrop API. Change it only for your own Markdrop server.
markdrop.webUrlhttps://markdrop.inThe Markdrop website, used for sign-in and to open documents.
settings.json
{
  "markdrop.pushOnSave": true,
  "markdrop.autoPull": true,
  "markdrop.pollSeconds": 30
}

A new markdrop.pollSeconds value takes effect after you reload the window (Developer: Reload Window). The other settings apply straight away.

The extension only checks for web changes while VS Code is the focused window, and only for the file in the active editor. A longer interval means fewer requests; switching to a file or back to VS Code always checks at once.

Commands

#

Run these from the Command Palette (⌘⇧P on macOS, Ctrl+Shift+P elsewhere).

CommandWhat it does
Markdrop: Sign inSign in through your browser.
Markdrop: Sign in with API tokenPaste an API token from markdrop.in/settings/tokens instead.
Markdrop: Sign outForget the token on this computer. To end it everywhere, revoke it on the API tokens page.
Markdrop: Publish / link current filePublish the current file and link it.
Markdrop: Sync now (push)Send your saved changes, then check for web changes.
Markdrop: Open current document in browserOpen the linked document on markdrop.in.
Markdrop: Unlink current fileStop syncing this file. The web document stays as it is.

Status bar

#

The Markdrop item on the right of the status bar appears for files the extension can publish. It shows whether you're signed in, whether the file is linked, and whether it is synced. The full list is in Publish and sync from VS Code.

Sign-in and tokens

#

The extension keeps its API token in VS Code's Secret Storage, not in your settings or in .markdrop.json. Signing out removes it from this computer only. Revoke it on markdrop.in/settings/tokens when you stop using a computer: every VS Code window using that token stops syncing at once.

If Markdrop answers that the token is no longer valid, the extension forgets it and asks you to sign in again.

Did this page help?