Postmark

screenshot of Postmark

Sync Wordpress Pages and Posts (even custom post types + fields) from static Markdown + YAML files

Overview

Postmark is an innovative command-line tool designed to bridge the gap between markdown files and WordPress, allowing users to streamline their content management workflow. By enabling the syncing of markdown files directly to WordPress posts and pages, Postmark takes advantage of Markdown's simplicity while leveraging WordPress's robust framework. This solution is especially useful for those who prefer version control and a clean writing environment without the complexity that often comes with traditional WordPress editing.

Whether you are a developer managing multiple WordPress installations or a content creator looking to keep your writing organized, Postmark offers an effective way to manage content more efficiently. With its focus on preserving your Markdown's structure within the dynamic environment of WordPress, it’s a powerful tool that can enhance any web development strategy.

Features

  • Seamless Syncing: Postmark allows for markdown files to be synced from any directory on the server without requiring webserver configuration changes, simplifying the process immensely.

  • GUID Identification: Files are synced using a unique identifier, enabling the same markdown files to be applied across multiple WordPress sites.

  • YAML Front Matter: Custom properties for WordPress posts and pages can be set directly in the markdown files through YAML front matter.

  • Support for Custom Post Types: Users can leverage custom post types, making it flexible to meet various content needs.

  • Template Inheritance: Files can inherit properties from a Prototype and utilize optional Twig templates for generating additional static content.

  • Efficient Updates: Only changes in size, timestamp, name, location, or content will trigger updates to posts or pages, ensuring productivity without unnecessary overhead.

  • Compatibility with File-Watching Tools: Works seamlessly with file-watching tools to auto-update posts immediately upon saving, streamlining the writing process significantly.

  • Advanced Markdown Handling: Utilizes league/commonmark for markdown conversion, supporting extensions and shortcodes to enhance content capabilities.