Step 1 — Add Bookmarklet to Browser
This bookmarklet lets you preview any markdown post from this site's GitHub repository — rendered with full Chirpy layout — without waiting for a GitHub Pages build.
Drag the button above to your bookmarks bar
- Make sure your bookmarks bar is visible (Chrome: ⌘⇧B / Ctrl+Shift+B)
- Drag the "Preview on GitHub" button above into your bookmarks bar
- Navigate to any
.mdfile in your repo on GitHub (e.g.github.com///blob/main/_posts/...md) - Click the bookmarklet — the preview opens in a new tab
blob URLs for .md files in this repository. It will show an alert if clicked on any other page.Step 2 — Add a GitHub Token (PAT)
Without a token, GitHub limits you to a handful of preview loads per hour. Adding a token raises this to 5,000 — effectively unlimited for normal use.
Create the token:
- Go to github.com/settings/tokens/new (sign in if prompted)
- In the Note field type:
Jekyll Preview - Under Expiration choose
No expiration - Scroll down — do not check any boxes
- Click Generate token
- Copy the token that appears — it starts with
ghp_
⚠️ You won’t be able to see this token again after you leave the page. Copy it now.
Save the token in the preview tool:
- Open your preview page at https://www.spartina.io/preview
- Click the ⚙ Config button in the top bar
- Enter
1and press OK - Paste your token and press OK
✅ The token is saved in your browser. You won’t need to enter it again unless you clear your browser data or switch to a different browser.