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 2d 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 31% 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

4195d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/83255?v=4)[Walther Lalk](/maintainers/dakota)[@dakota](https://github.com/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

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[roundcube/roundcubemail

The Roundcube Webmail suite

7.1k2.4k3](/packages/roundcube-roundcubemail)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)

PHPackages © 2026

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