---
title: 'Copy as Markdown: AI-friendly blog posts'
teaser: 'Our blog posts can now be copied as Markdown, so you can hand them to your
  favourite AI without the HTML cruft. Click, paste, and happy contexting.

  '
tags: ai,markdown
author: Jared Turner
published_on: 2026-06-03
---

Our blog posts now have the option to `Copy as Markdown` to help our robotic friends more easily consume our content.

(It's just up there, below the title)

Click the button and you will get this blog post copied to your clipboard in cleanly formatted [Markdown]. Then paste it into any prompt to give your AI the context it needs.

## Speaking their language

Markdown is the lingua franca of LLMs and giving them the ability to read Markdown simplies their job (and uses fewer tokens) compared to parsing HTML directly.

We've done a few things to make their lives easier:

- The `Copy as Markdown` button - this is mostly for us humans, to more easily pass context to the AI
- The Markdown version of any blog is available by appending [.md] to the URL
- A hint in the `<head>` of each post lets requesters know the markdown alternative is available

```html
<link rel="alternate" type="text/markdown" href="https://thoughtbot.com/blog/copy-as-markdown-ai-friendly-blog-posts.md">
```

That's it. No setup, no plugin, no incantation. Just click, paste, and happy contexting.

[Markdown]: https://www.markdownguide.org/getting-started/
[.md]: https://thoughtbot.com/blog/copy-as-markdown-ai-friendly-blog-posts.md
