Staging & Publishing
The staging workflow lets you review your Markdown edits before committing to them. Staging is Sparge’s draft system — it saves a copy of your edits alongside the published version so you can compare and decide.
Staging your edits
After editing the Markdown in the editor, click Stage. Sparge writes your edited content to a .staged file alongside the current .md file. The editor switches to show the staged content.
When a post is staged, the editor shows the staged content and displays Accept and Reject buttons.
A staged post is indicated in the post list. You can leave posts staged for as long as you like — stage multiple posts, review them all, then accept them one by one.
Accepting and rejecting
Accept promotes the staged draft to published. Reject discards it.
Accept staged — promotes the staged content to the published .md file and deletes the .staged file. Sparge re-validates the accepted content and updates the MD issues.
Reject staged — deletes the .staged file and restores the previous published content. Your edits are discarded.
Note: Accepting staged content triggers re-validation. If new issues are found in the accepted content, they’ll appear in the Issues Panel.
Publishing
In Sparge, publishing means your final Markdown file is ready to copy to your Jekyll (or other static site generator) publishing repository. Sparge writes Markdown to your configured MD directory — copy from there to your blog repo to publish.
Tip: Mark a post as Reviewed (✓) once you’ve accepted the staged Markdown and are happy with it. Use the Reviewed filter to track your remaining work.
Typical end-to-end workflow
- Scan the post — fix any HTML issues
- Generate MD — review the generated Markdown
- Edit the Markdown if needed
- Stage your edits
- Accept the staged version
- Mark as Reviewed
- Copy the
.mdfile to your publishing repository