PHPackages                             dakota/croogomark - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dakota/croogomark

ActiveCroogo-plugin[Utility &amp; Helpers](/categories/utility)

dakota/croogomark
=================

A croogo plugin for using markdown for content

0.2.0(11y ago)233MITPHPPHP &gt;=5.3.3

Since Jan 7Pushed 11y agoCompare

[ Source](https://github.com/dakota/croogomark)[ Packagist](https://packagist.org/packages/dakota/croogomark)[ Docs](http://github.com/dakota/croogomark)[ RSS](/packages/dakota-croogomark/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Croogodown
----------

[](#croogodown)

This plugin enables use of Markdown (Using the [commonmark](http://commonmark.org/) standard) for nodes.

NB. This does not convert existing HTML nodes to Markdown!

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

[](#installation)

Install using composer by running `composer require dakota/croogomark`.

Usage
-----

[](#usage)

1. Activate the plugin
2. Disable the CkEditor plugin
3. Create or edit a node

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

[](#requirements)

- Croogo 2.2 -
- PHP 5.3.3

Advanced usage
--------------

[](#advanced-usage)

When markdown text is rendered into HTML, a number of Croogo hooks are triggered. This makes it possible to alter the behaviour of the [CommonMark](http://commonmark.thephpleague.com/) library.

The hooks are:

- `Helper.Markdown.beforeMarkdownParse` - Receives two arguments and is triggered after the CommonMark environment is created, but before the AST is generated. The arguments are: \*\* `environment` - the CommonMark environment object \*\* `markdown` - the text that will be rendered.
- `Helper.Markdown.beforeMarkdownRender` - Receives one argument, and is triggered after the AST is generated, but before the HTML is rendered. \*\* `ast` - The CommonMark AST document
- `Helper.Markdown.afterMarkdownRender` - Receives one argument, and is triggered after the HTML is generated. \*\* `rendered` - The rendered HTML

Custom parsers and renderers
============================

[](#custom-parsers-and-renderers)

Using the hooks, it is possible to implement your own custom block or inline parser and renderer. For example, to implement the twitter example given in the [CommonMark documentation](http://commonmark.thephpleague.com/customization/inline-parsing/#example-1---twitter-handles)you could do the following:

```
//Config/bootstrap.php
CakeEventManager::instance()->attach(function ($event) {
	//Assuming that you've created the TwitterHandleParser in Lib/
	App::uses('TwitterHandleParser', 'Lib');
	$event->data['environment']->addInlineParser(new TwitterHandleParser());
}, 'Helper.Markdown.beforeMarkdownParse');
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

4142d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c82aedaabc1d940ea0e140150a1abcf9bb02c480d7fc9409d27645639f97b43d?d=identicon)[dakota](/maintainers/dakota)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/dakota-croogomark/health.svg)

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

###  Alternatives

[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5671.4k1](/packages/pfefferle-wordpress-activitypub)[torchlight/engine

The PHP-based Torchlight code annotation and rendering engine.

655.7k4](/packages/torchlight-engine)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

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