Helping Organisations get organised!

Changelog

  • 0.4.2: Now requires PHP 8.2, matching LH Content Converter, which this plugin requires and which needs PHP 8.2 for its bundled conversion library. No change to how the plugin works.
  • 0.4.1: Markdown serving now uses LH Content Converter, the renamed LH Markdown Converter, which is now the required plugin. Where a post type has a block template, the Markdown is now built from the same template region as the HTML page (the block marked lh-md-content, rendered with the post's own context so block bindings resolve), so the two versions cannot drift apart; post types without a block template still use the post content as before. The plugin header now declares its requirements (WordPress 6.5, PHP 8.1), links to its documentation, and has a shorter description, and the version is read from the header.
  • 0.4: Markdown serving now uses the shared LH Markdown Converter plugin instead of this plugin's own regex-based converter, with no autolinks and no hard breaks. LH Markdown Converter is now a required plugin. The old built-in converter class is no longer used.
  • 0.3: Added the missing index.php guard files to the plugin root and its includes and blocks directories.
  • 0.2: Bug fixes. Markdown and llms.txt responses now send their public Cache-Control header directly instead of conflicting with nocache headers. YAML front matter no longer wrongly escapes single quotes. Em-dash separators in llms.txt list items are handled without corrupting UTF-8. Image alt text is kept whatever order the attributes appear in. A missing return after the fallback response was added.
  • 0.1: Initial release. Singular posts and pages are served as Markdown with YAML front matter when requested with Accept: text/markdown. An llms.txt document type, limited to one published document, generates /llms.txt and /llms-full.txt, edited in the block editor with a dedicated section block and a restricted inserter. Includes a built-in HTML to Markdown converter.