Title: ReturnGIS Markdown View for AI Agents
Author: Gisela Torres
Published: <strong>October 24, 2026</strong>
Last modified: October 24, 2026

---

Search plugins

![](https://ps.w.org/returngis-markdown-view-for-ai-agents/assets/banner-772x250.
png?rev=3763699)

![](https://ps.w.org/returngis-markdown-view-for-ai-agents/assets/icon-256x256.png?
rev=3763699)

# ReturnGIS Markdown View for AI Agents

 By [Gisela Torres](https://profiles.wordpress.org/0gis0/)

[Download](https://downloads.wordpress.org/plugin/returngis-markdown-view-for-ai-agents.1.0.7.zip)

 * [Details](https://wordpress.org/plugins/returngis-markdown-view-for-ai-agents/#description)
 * [Reviews](https://wordpress.org/plugins/returngis-markdown-view-for-ai-agents/#reviews)
 *  [Installation](https://wordpress.org/plugins/returngis-markdown-view-for-ai-agents/#installation)
 * [Development](https://wordpress.org/plugins/returngis-markdown-view-for-ai-agents/#developers)

 [Support](https://wordpress.org/support/plugin/returngis-markdown-view-for-ai-agents/)

## Description

ReturnGIS Markdown View for AI Agents adds a small button to singular posts and 
pages so visitors, crawlers, and AI agents can open a clean Markdown version of 
the content.

The same Markdown output is also available programmatically by appending `?format
=markdown` to a post or page URL.

The generated Markdown includes YAML frontmatter with useful metadata and converts
common HTML elements into Markdown-friendly output.

Features include:

 * Visible “View as Markdown” button on posts and pages
 * `?format=markdown` endpoint for agents and automation tools
 * YAML frontmatter with title, author, date, categories, tags, and URL
 * HTML-to-Markdown conversion for headings, lists, links, images, code blocks, 
   blockquotes, and tables
 * Cached output using WordPress transients for faster repeat requests
 * Lightweight front-end integration with no external services required

Typical use cases:

 * AI agents that need a stable Markdown representation of a post
 * internal automation or export workflows that consume article content
 * debugging or reviewing how WordPress content is exposed outside the theme layer

## Installation

 1. Upload the `returngis-markdown-view-for-ai-agents` folder to the `/wp-content/plugins/`
    directory, or install the plugin through the WordPress admin.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Open any published post or page.
 4. Click the “View as Markdown” button, or append `?format=markdown` to the URL.

## FAQ

### Which content types are supported?

The plugin supports singular posts and pages on the front end.

### How do agents or automation tools access the Markdown output?

AI agents append `?format=markdown` to any post URL. The plugin returns the content
as `text/markdown` with YAML frontmatter metadata.

### Does this change my regular theme output?

No. The normal front-end rendering stays the same, except for the added “View as
Markdown” button on singular posts and pages.

### Does this affect SEO?

No. The button link uses `rel="nofollow"` and the Markdown response includes a `
X-Robots-Tag: noindex` header.

### Is the Markdown cached?

Yes. The plugin caches the generated Markdown for 1 hour using WordPress transients.
The cache is cleared automatically when you update a post.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“ReturnGIS Markdown View for AI Agents” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Gisela Torres ](https://profiles.wordpress.org/0gis0/)

[Translate “ReturnGIS Markdown View for AI Agents” into your language.](https://translate.wordpress.org/projects/wp-plugins/returngis-markdown-view-for-ai-agents)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/returngis-markdown-view-for-ai-agents/),
check out the [SVN repository](https://plugins.svn.wordpress.org/returngis-markdown-view-for-ai-agents/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/returngis-markdown-view-for-ai-agents/)
by [RSS](https://plugins.trac.wordpress.org/log/returngis-markdown-view-for-ai-agents/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.7

 * updated the `Tested up to` header to WordPress 7.1

#### 1.0.6

 * addressed WordPress.org review feedback for plugin name, slug, and text domain
 * sanitized button HTML markup returned from `the_content` filter callback using`
   wp_kses`

#### 1.0.5

 * updated the `Tested up to` header to WordPress 7.0

#### 1.0.4

 * addressed WordPress.org review feedback for contributor metadata
 * escaped the generated Markdown output

#### 1.0.3

 * renamed the plugin to `Markdown View for AI Agents`
 * aligned the distributed slug with `markdown-view-for-ai-agents`
 * added a WordPress.org name availability check to the release guidance

#### 1.0.2

 * aligned the distributed plugin slug with `markdown-view-for-ai-agents`
 * removed WordPress.org Plugin Check warnings from the plugin bootstrap
 * added Plugin Check support and SVG-to-PNG tooling to the dev container workflow

#### 1.0.1

 * Improved WordPress.org readme formatting and public metadata

#### 1.0.0

 * Initial release
 * HTML-to-Markdown converter
 * Button injection on posts and pages
 * ?format=markdown URL handler
 * YAML frontmatter with metadata
 * Transient caching

## Meta

 *  Version **1.0.7**
 *  Last updated **2 weeks ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [Agents](https://wordpress.org/plugins/tags/agents/)[AI](https://wordpress.org/plugins/tags/ai/)
   [content](https://wordpress.org/plugins/tags/content/)[export](https://wordpress.org/plugins/tags/export/)
   [markdown](https://wordpress.org/plugins/tags/markdown/)
 *  [Advanced View](https://wordpress.org/plugins/returngis-markdown-view-for-ai-agents/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/returngis-markdown-view-for-ai-agents/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/returngis-markdown-view-for-ai-agents/reviews/)

## Contributors

 *   [ Gisela Torres ](https://profiles.wordpress.org/0gis0/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/returngis-markdown-view-for-ai-agents/)