SnippetCraft
Markdown snippet documentation

Keep the “why” beside the text you reuse.

A command, response, or template is safer when its assumptions and instructions remain attached. SnippetCraft lets you add Markdown documentation without mixing internal context into the content that gets inserted.

Markdown previewLinks and code blocksContext stays attached
DEPLOY PRODUCTION BUILD · DOCUMENTATION
# RunbookPreview
## Before running3 checks
## RollbackCommand + link
Owner: Platform teamrelease · ops
Reusable knowledge

A snippet should explain itself months later.

Names and descriptions help discovery. Documentation carries the deeper context needed to use important content correctly.

Record prerequisites

Explain required permissions, environment, access, preparation, or information needed before use.

Keep source links

Attach the original issue, policy, documentation, ticket, or reference that supports the reusable content.

Preserve warnings and recovery

Document side effects, validation steps, rollback instructions, and situations where the snippet should not be used.

Separate context from output

Clear content. Rich explanation.

The snippet remains the exact text, command, or template you want to insert. Documentation stays available for review without accidentally appearing in the destination app.

  • Document flags and expected output for shell commands.
  • Explain when an approved customer reply is appropriate.
  • Add source links and citations to research snippets.
  • Keep proposal requirements beside a reusable template.
  • Describe ownership and review dates for operational content.
# Production deploy ## Before running - Confirm the release tag - Check the status dashboard ## Rollback Use the previous stable version. [Release policy](https://example.com)
Documentation workflow

Capture context while it is still fresh.

01 · SAVE

Create the snippet

Keep the reusable output concise and remove accidental one-time values.

02 · EXPLAIN

Add Markdown notes

Write prerequisites, examples, links, risks, and recovery steps.

03 · MAINTAIN

Review with the content

Update the explanation whenever the reusable snippet changes.

Common questions

Snippet documentation FAQ

What should I document?

Prerequisites, links, examples, warnings, ownership, rollback steps, and when the snippet applies.

Is documentation inserted?

No. It provides context while the snippet content remains the reusable output.

Why Markdown?

It keeps headings, lists, links, and code readable without a heavy editor.

Preserve the lesson

Save context before it disappears.

Turn working text into reusable, documented knowledge.

Download free for Mac