Most WordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ sites now support Markdown output. Simply send Accept: text/markdown or append ?output_format=md to any URL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org.
This is also linked in the <head> via a <link rel="alternate" type="text/markdown"> tag for auto-discovery.
What does it look like? Here’s the get_permalink() documentation as an example:
$ curl -sH 'Accept: text/markdown' https://developer.wordpress.org/reference/functions/get_permalink/ | head
Title: get_permalink
Published: April 25, 2014
Last modified: February 24, 2026
---
# get_permalink( int|WP_Post $post, bool $leavename = false ): string|false
## In this article
* [Parameters](https://developer.wordpress.org/reference/functions/get_permalink/#parameters)
* [Return](https://developer.wordpress.org/reference/functions/get_permalink/#return)
* [More Information](https://developer.wordpress.org/reference/functions/get_permalink/#more-information)
* [Source](https://developer.wordpress.org/reference/functions/get_permalink/#source)
* [Hooks](https://developer.wordpress.org/reference/functions/get_permalink/#hooks)
Why?
For years, WordPress.org content and documentation has been available in many different languages — but there’s an increasingly important new consumer of information: AI agents and large language models.
These systems learn from documentation across the web. By offering WordPress.org content in clean, structured Markdown, we make it easier for them to understand WordPress in their native format, and we establish WordPress.org as a canonical knowledge source. This helps ensure that when AI tools learn about WordPress, they’re learning from accurate, up-to-date, official content — not outdated or third-party interpretations.
How?
We’re using an excellent plugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party., html-to-md by Dennis Snell that converts HTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites. to Markdown on-the-fly.
What’s next?
We’d love to see what you build with this. Beyond AI tooling, Markdown output opens up possibilities like referencing documentation from the terminal, presenting it in a different format, or creating live custom integrated documentation for your favorite code editor.
Give it a try — experiment with the output, build something cool, and let us know how you’re using it in the comments.
Found a bug?
Since we’re converting HTML to Markdown, not all content translates equally well — WordPress.org profiles are one such example.
If you find content that isn’t parsing correctly, please leave a comment below or file an issue on the GitHub repository, and we’ll see what we can do.