PHPackages                             experience/smartdown - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. experience/smartdown

AbandonedArchivedCraft-plugin[Parsing &amp; Serialization](/categories/parsing)

experience/smartdown
====================

Bringing the unbridled joy of Markdown Extra and Smartypants to your Craft websites.

3.0.1(7y ago)262.2k1[2 issues](https://github.com/manifestuk/smartdown.craft-plugin/issues)[1 PRs](https://github.com/manifestuk/smartdown.craft-plugin/pulls)1MITPHP

Since Mar 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/manifestuk/smartdown.craft-plugin)[ Packagist](https://packagist.org/packages/experience/smartdown)[ RSS](/packages/experience-smartdown/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (3)Used By (1)

Smartdown for Craft
===================

[](#smartdown-for-craft)

[![Build Status](https://camo.githubusercontent.com/d9b5f2681ca20b53740a6b1fd6fe3a2990006fc4d569cbac412e3d2bac9f4c11/68747470733a2f2f7472617669732d63692e6f72672f657870657269656e63652f736d617274646f776e2e63726166742d706c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/experience/smartdown.craft-plugin)

Smartdown for Craft is a Twig Filter which brings the unbridled joy of [Markdown Extra](https://michelf.ca/projects/php-markdown/) and [SmartyPants](https://michelf.ca/projects/php-smartypants/) to [Craft](https://craftcms.com).

Craft already supports standard Markdown, but sadly standard Markdown doesn't support lots of useful things such as footnotes, fenced code blocks, and tables. It also does nothing to spruce up your typography, leaving your site with an embarrassment of straight quotes, and faux ellipses.

Smartdown plugs both of these gaps, turning your website into a typographic dreamboat.

Requirements
------------

[](#requirements)

Each release of Smartdown is [automatically tested](https://travis-ci.org/experience/smartdown.craft-plugin "See the Smartdown build status on Travis CI") against PHP 7.1 and above. It's also manually tested on the most recent version of Craft.

### PHP 7.0 support

[](#php-70-support)

In theory, Smartdown *should* be compatible with PHP 7.0. In practise, it's impossible to test this, because the Codeception dependency tree includes components which only work with PHP 7.1+.

Unfortunately there's nothing we can do about that.

Installation
------------

[](#installation)

To install Smartdown, either search for "Smartdown" in the Craft Plugin Store, or add it as a [Composer](https://getcomposer.org "Composer is a PHP dependency manager") dependency.

Here's how to install Smartdown using Composer.

1. Open your terminal, and navigate to your Craft project:

    ```
     cd /path/to/project

    ```
2. Add Smartdown as a project dependency:

    ```
     composer require experience/smartdown

    ```
3. In the Control Panel, go to "Settings → Plugins", and click the "Install" button for Smartdown

Basic usage
-----------

[](#basic-usage)

Use the Smartdown filter in exactly the same way as any other Twig filter.

```
{{ myVariable|smartdown }}

```

This will parse your content with both Markdown Extra, and SmartyPants, turning this:

```
"Outside of a dog, a book is a man's best friend. Inside a dog it's too dark to read..."

```

Into this:

> "Outside of a dog, a book is a man's best friend. Inside a dog it's too dark to read..."

Filter parameters
-----------------

[](#filter-parameters)

### markup

[](#markup)

The `markup` filter parameter controls whether the text will be parsed using Markdown Extra. The default value is `true`.

Example usage:

```
{{ content|smartdown(markup=false) }}

```

### typography

[](#typography)

The `typography` filter parameter controls whether the text will be parsed using SmartyPants. The default value is `true`.

Example usage:

```
{{ content|smartdown(typography=false) }}

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~153 days

Total

2

Last Release

2816d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/439058?v=4)[Andrei Nesterov](/maintainers/manifest)[@manifest](https://github.com/manifest)

---

Top Contributors

[![monooso](https://avatars.githubusercontent.com/u/4369838?v=4)](https://github.com/monooso "monooso (4 commits)")

---

Tags

craftcraft-plugincraftcmscraftcms-pluginmarkdownsmartypantsmarkdowncmsCraftcraftcmscraft-plugintypographysmartypants

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/experience-smartdown/health.svg)

```
[![Health](https://phpackages.com/badges/experience-smartdown/health.svg)](https://phpackages.com/packages/experience-smartdown)
```

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[nystudio107/craft-typogrify

Typogrify prettifies your web typography by preventing ugly quotes and 'widows' and more

70381.7k18](/packages/nystudio107-craft-typogrify)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[verbb/hyper

A user-friendly links field for Craft.

24130.9k9](/packages/verbb-hyper)[hut6/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

102.3k](/packages/hut6-oembed)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
