Title: Praline
Author: Jonathan Desrosiers
Published: <strong>November 30, 2026</strong>
Last modified: November 30, 2026

---

Search plugins

![](https://ps.w.org/praline/assets/banner-772x250.png?rev=3834045)

![](https://ps.w.org/praline/assets/icon-256x256.png?rev=3834045)

# Praline

 By [Jonathan Desrosiers](https://profiles.wordpress.org/desrosj/)

[Download](https://downloads.wordpress.org/plugin/praline.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/praline/#description)
 * [Reviews](https://wordpress.org/plugins/praline/#reviews)
 *  [Installation](https://wordpress.org/plugins/praline/#installation)
 * [Development](https://wordpress.org/plugins/praline/#developers)

 [Support](https://wordpress.org/support/plugin/praline/)

## Description

[BonBon](https://github.com/scripting/bonBon) is a browser for the Markdown web.
When it asks for a post or page with `Accept: text/markdown`, Praline sends it on
to that page’s `.md` address. Browsers get the same HTML as always.

Beyond the Markdown itself, Praline gives BonBon everything it reads:

 * **Front matter** on every page: `pubDate`, `description` (a handwritten excerpt),`
   link` (the HTML page), `rightMarginImage` (the featured image), and `urlPrev`
   and `urlNext` for the arrows.
 * **A table of contents** at `/.well-known/toc.opml`: the posts by year, month 
   and day, newest first, then the pages.
 * **Arrows that run one way through the whole site**: from the oldest post to the
   newest, on to the front page, then through the pages.
 * **Site search**, named in `/.well-known/bonbon.json`.
 * **`Content-Location`**, naming the `.md` file when Markdown is served at an address
   that isn’t one.

Only content anyone can read is served as Markdown or linked anywhere: published,
not password protected, not hidden from search engines with Yoast SEO, and not the
posts page. Category, tag, author and date archives keep answering with their HTML.

Praline needs no other plugin. It includes the parts of [Markdown Alternate](https://github.com/ProgressPlanner/markdown-alternate)
that turn posts into Markdown, and Markdown Alternate’s `markdown_alternate_*` filters
all still work.

Praline sends nothing to any outside service.

### Credits

Praline includes parts of these, each with its license kept beside the code in `
vendor-prefixed/`:

 * [Markdown Alternate](https://github.com/ProgressPlanner/markdown-alternate) 1.3.0,
   by Joost de Valk and Progress Planner, GPL-2.0-or-later. Its namespaces are renamed
   with Strauss, and each bundled file says so at its top.
 * [league/html-to-markdown](https://github.com/thephpleague/html-to-markdown), 
   by Colin O’Dell and Nick Cernis, MIT.

## Installation

 1. Upload the `praline` folder to `/wp-content/plugins/`, or install it from the Plugins
    screen.
 2. Activate it.
 3. Use pretty permalinks (**Settings  Permalinks**, anything but Plain).

Praline works with or without the standalone Markdown Alternate plugin. See the 
FAQ.

## FAQ

### Does it change my site for anyone else?

No. Only a request that asks for `text/markdown` is sent on to Markdown. The redirect
is marked so page caches don’t store it.

### Can I keep the Markdown Alternate plugin active?

Yes, version 1.3.0 or later. Praline then leaves its bundled copy off, lets Markdown
Alternate serve the Markdown, and adds BonBon’s front matter, table of contents 
and search on top. Markdown Alternate’s own rules then decide which addresses send
BonBon on to Markdown, so category and tag archives and password-protected posts
behave as they do in Markdown Alternate. Tools  Site Health  Info  Praline says 
which copy is serving.

With an older Markdown Alternate, Praline stops and asks administrators to update
or deactivate it.

### `/.well-known/bonbon.json` answers 404.

Some hosts answer every `.json` request themselves, before WordPress runs. Upload
a static `/.well-known/bonbon.json` to your site’s root folder containing `{"urlSearch":"
https://example.com/.well-known/bonbon-search"}`, with your own domain.

### How do I serve noindexed content as Markdown anyway?

Praline skips anything hidden from search engines. To turn that off:

    ```
    add_filter( 'markdown_alternate_skip_noindexed', '__return_false', 20 );
    ```

### My pages show different content to different visitors.

Only visitors who aren’t logged in and have no session cookie share the cached Markdown.
Anyone logged in, or with a post password, WooCommerce or Easy Digital Downloads
session or cart cookie, gets their Markdown made fresh each time, and it isn’t stored
by page caches. If another plugin gives visitors pages of their own through a cookie
it sets, turn the cache off when a visitor has one:

    ```
    add_filter( 'markdown_alternate_cache_enabled', function ( $enabled ) { return $enabled && ! isset( $_COOKIE['my_session'] ); } );
    ```

### Does it work with plugins that require logging in?

Yes, when they check on `template_redirect` at the default priority (10) or earlier,
or on `parse_request`, as most do. Praline answers Markdown at priority 15, and 
the table of contents, `bonbon.json` and search at 14, after them, so a visitor 
they send to log in is sent to log in there too. A plugin that checks only inside
the theme’s templates doesn’t apply to these, which aren’t rendered through a template.

### What happens when I delete the plugin?

It removes what it stored: its site version, the cached table of contents and each
post’s cached Markdown. Deactivating it removes its `.md` rewrite rules.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Praline” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Jonathan Desrosiers ](https://profiles.wordpress.org/desrosj/)

[Translate “Praline” into your language.](https://translate.wordpress.org/projects/wp-plugins/praline)

### Interested in development?

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

## Changelog

See [CHANGELOG.md](https://github.com/desrosj/praline/blob/main/CHANGELOG.md) for
every release.

## Meta

 *  Version **1.0.0**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.2**
 *  PHP version ** 8.2 or higher **
 * Tags
 * [content negotiation](https://wordpress.org/plugins/tags/content-negotiation/)
   [markdown](https://wordpress.org/plugins/tags/markdown/)[OPML](https://wordpress.org/plugins/tags/opml/)
   [table of contents](https://wordpress.org/plugins/tags/table-of-contents/)
 *  [Advanced View](https://wordpress.org/plugins/praline/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/praline/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/praline/reviews/)

## Contributors

 *   [ Jonathan Desrosiers ](https://profiles.wordpress.org/desrosj/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/praline/)