PHPackages                             robbieaverill/silverstripe-markdowntextareafield - 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. robbieaverill/silverstripe-markdowntextareafield

AbandonedArchivedSilverstripe-module[Parsing &amp; Serialization](/categories/parsing)

robbieaverill/silverstripe-markdowntextareafield
================================================

Supercharged textarea with markdown preview for Silverstripe CMS

1.1.4(10y ago)61.2k6[5 issues](https://github.com/robbieaverill/silverstripe-markdowntextareafield/issues)BSD-3-ClausePHP

Since Aug 1Pushed 8y ago2 watchersCompare

[ Source](https://github.com/robbieaverill/silverstripe-markdowntextareafield)[ Packagist](https://packagist.org/packages/robbieaverill/silverstripe-markdowntextareafield)[ RSS](/packages/robbieaverill-silverstripe-markdowntextareafield/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (17)Used By (0)

Markdown capable TextareaField for Silverstripe CMS
===================================================

[](#markdown-capable-textareafield-for-silverstripe-cms)

[![Packagist](https://camo.githubusercontent.com/1452aae5fb290b11f5878b599dc38cf5806f9444391cb8a6ddf4fb1587381a8f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6262696561766572696c6c2f73696c7665727374726970652d6d61726b646f776e74657874617265616669656c642e737667)](https://packagist.org/packages/robbieaverill/silverstripe-markdowntextareafield) [![Packagist](https://camo.githubusercontent.com/01675d33d767adee452953f5d6c001fb499b9ede6d95255327ac33bd62e8b531/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6262696561766572696c6c2f73696c7665727374726970652d6d61726b646f776e74657874617265616669656c642e737667)](https://packagist.org/packages/robbieaverill/silverstripe-markdowntextareafield) [![Code quality via Scrutinizer CI](https://camo.githubusercontent.com/ced0024d9a6b56420eb9189619767caf0ccb249036cc5ab5aa3da125bd61c476/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726f6262696561766572696c6c2f73696c7665727374726970652d6d61726b646f776e74657874617265616669656c642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/robbieaverill/silverstripe-markdowntextareafield/) [![Build Status](https://camo.githubusercontent.com/ef428c21ae716818d4dd65191cc2ec873392826297959df3aadd0a56215cd1c7/68747470733a2f2f7472617669732d63692e6f72672f726f6262696561766572696c6c2f73696c7665727374726970652d6d61726b646f776e74657874617265616669656c642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/robbieaverill/silverstripe-markdowntextareafield)

Features
--------

[](#features)

- Live preview (toggle)
- Extendable toolbar with common markdown functions
- Support for both regular markdown and [extra functions](http://michelf.ca/projects/php-markdown/extra)

Screenshot
----------

[](#screenshot)

[![Markdown editor screenshot](/templates/images/screenshot.png?raw=true)](/templates/images/screenshot.png?raw=true)

Credits and Authors
-------------------

[](#credits-and-authors)

- Original author - Priit Hansen (@priithansen)
- Maintainer - Robbie Averill (@robbieaverill)
- Silverstripe CMS -
- PHP Markdown -
- Rangy Text Inputs -
- Markdown syntax -
- Icons -

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

[](#requirements)

- SilverStripe &gt;= 3.1
- [PHP Markdown](https://github.com/michelf/php-markdown)

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

[](#installation)

- Use composer to install `composer require robbieaverill/silverstripe-markdowntextareafield:*`
- Run `/dev/build?flush=1`

### Instructions

[](#instructions)

You can use the `MarkdownText` data type for regular markdown or `MarkdownTextExtra` for added syntax features:

```
class Page extends SiteTree {

    private static $db = array(
        'MarkdownContent' => 'MarkdownTextExtra',
    );

    public function getCMSFields() {
        $fields = parent::getCMSFields();

        $markdownfield = MarkdownTextareaField::create('MarkdownContent');
        $markdownfield->enableExtra(); // Enables extra syntax support for fields live preview.

        $fields->addFieldToTab('Root.Main', $markdownfield);
        return $fields;
    }
}
```

### Template:

[](#template)

It is also possible to override/use markdown syntax in templates:

```

    $MarkdownContent

    $MarkdownContent.MarkdownAsHTML

    $MarkdownContent.MarkdownExtraAsHTML

        // Render JSON content
        $MarkdownContent.MarkdownAsJS
        // or
        $MarkdownContent.MarkdownExtraAsJS

```

Notes
-----

[](#notes)

- Bug reports and ideas more than welcome.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance3

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~92 days

Recently: every ~9 days

Total

13

Last Release

3612d ago

Major Versions

0.9.2 → 1.1.02016-02-20

1.1.4 → 2.0-alpha2016-06-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/04057079b9a8a168a9e8c40cf7bac17f05047255c48b71b63fc610db06f096cb?d=identicon)[robbieaverill](/maintainers/robbieaverill)

---

Top Contributors

[![robbieaverill](https://avatars.githubusercontent.com/u/5170590?v=4)](https://github.com/robbieaverill "robbieaverill (20 commits)")[![hdpero](https://avatars.githubusercontent.com/u/13778690?v=4)](https://github.com/hdpero "hdpero (3 commits)")[![dmc-core](https://avatars.githubusercontent.com/u/22206626?v=4)](https://github.com/dmc-core "dmc-core (1 commits)")

---

Tags

cmsmarkdownsilverstripesilverstripemarkdowncmsmodule

### Embed Badge

![Health badge](/badges/robbieaverill-silverstripe-markdowntextareafield/health.svg)

```
[![Health](https://phpackages.com/badges/robbieaverill-silverstripe-markdowntextareafield/health.svg)](https://phpackages.com/packages/robbieaverill-silverstripe-markdowntextareafield)
```

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5253.6M1.4k](/packages/silverstripe-cms)[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39344.8k30](/packages/lekoala-silverstripe-cms-actions)[silverstripers/markdown

Markdown DB field and form field for SilverStripe

112.5k](/packages/silverstripers-markdown)[undefinedoffset/silverstripe-markdown

Adds a field and a data type that allows for Markdown editing, uses the github api to render the html

126.5k1](/packages/undefinedoffset-silverstripe-markdown)

PHPackages © 2026

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