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.

🔖 Preview on GitHub

Drag the button above to your bookmarks bar

  1. Make sure your bookmarks bar is visible (Chrome: ⌘⇧B / Ctrl+Shift+B)
  2. Drag the "Preview on GitHub" button above into your bookmarks bar
  3. Navigate to any .md file in your repo on GitHub (e.g. github.com///blob/main/_posts/...md)
  4. Click the bookmarklet — the preview opens in a new tab
💡 The bookmarklet only works on GitHub 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:

  1. Go to github.com/settings/tokens/new (sign in if prompted)
  2. In the Note field type: Jekyll Preview
  3. Under Expiration choose No expiration
  4. Scroll down — do not check any boxes
  5. Click Generate token
  6. 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:

  1. Open your preview page at https://www.spartina.io/preview
  2. Click the ⚙ Config button in the top bar
  3. Enter 1 and press OK
  4. 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.