Draft42 Docs

Commands

All Draft42 commands are available through Obsidian's command palette (summoned via Ctrl/Cmd + P). Some are also accessible via the file explorer context menu.

Content

These commands work with any content type — blog posts, doc pages, and any future modules.

  • Insert image — picks an image from your vault or filesystem, copies it into the content's images/ folder, and inserts it at the cursor.
  • Insert gallery — same as above, but for multiple images arranged in a gallery layout.
  • Normalize images — moves images into the images/ folder and normalizes filenames.
  • Preview and publish — uploads assets, publishes the current note as a draft, and opens a preview in the browser.
  • Normalize frontmatter — sorts frontmatter fields into a consistent order and adds any missing fields.

Blog Module

  • Create new blog post idea — creates a new post with Idea status. You'll pick a site, enter a title, and optionally a description.
  • Create new blog post draft — same as above, but with Draft status.
  • Set cover image — sets a cover image for the current post, with optional credit text and link.

File explorer context menu items

  • Add post idea
  • Add post draft

Docs Module

  • Create new doc page — creates a new page. You'll pick a location in the tree, enter a title, and optionally a description.

File explorer context menu items

  • Add page before
  • Add page after
  • Add child page
  • Move up
  • Move down

Maintenance

  • Copy debug info — copies your OS, Obsidian, and plugin versions to the clipboard for support requests.