PHPackages                             geeks-dev/php-markdown-extra-extended-stylish - 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. geeks-dev/php-markdown-extra-extended-stylish

ActiveLibrary

geeks-dev/php-markdown-extra-extended-stylish
=============================================

PHP Markdown Extra Extended Stylish

333CSS

Since Feb 19Pushed 12y ago1 watchersCompare

[ Source](https://github.com/geeks-dev/php-markdown-extra-extended-stylish)[ Packagist](https://packagist.org/packages/geeks-dev/php-markdown-extra-extended-stylish)[ RSS](/packages/geeks-dev-php-markdown-extra-extended-stylish/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Markdown Extra Extended Stylish
===================================

[](#php-markdown-extra-extended-stylish)

### See [Amazing Demo](http://demo.geeks-dev.com/markdown_e2_stylish/demo/)

[](#see-amazing-demo)

### Support

[](#support)

- Google Code Prettify
- Syntax Highlighter
- [Bootstrap glyphicons](http://getbootstrap.com/components/#glyphicons)
- [Font Awesome](http://fontawesome.io/) &amp; this options
- Custom Icons
- Todo List
- Icon List

An fork of the [Markdown Extra Extended](https://github.com/egil/php-markdown-extra-extended) .

### Remove

[](#remove)

- Line break generates a &lt;br /&gt;

It is because the bug has been encapsulated .

### Icons

[](#icons)

Input `:(heart):`

Output ``

Input `[(heart)]`

Output ``

Input `[(heart,spin,2x)]`

Output ``

#### Custom Icons

[](#custom-icons)

Input `:(custom|heart,spin,4x):`

Output ``

Input `[(custom|heart,spin,4x)]`

Output ``

Usage
-----

[](#usage)

You need both the *markdown.php* and the *markdown\_extended\_stylish.php* files, but only needs to include *markdown\_extended\_stylish.php*.

```
require_once('markdown_extended_stylish.php');

// Convert markdown formatted text in $markdown to HTML
$html = MarkdownExtended($markdown);
```

License
-------

[](#license)

PHP Markdown Extra Extended is licensed under the [MIT License](http://opensource.org/licenses/MIT). See the LICENSE file for details.

### Other Message

[](#other-message)

Basic part has not changed . I have done is an extension that matches the modern .

Oh, Sorry .
English is not good at I .

Down from here is Old Text

Changes to syntax from PHP Markdown (Extra)
-------------------------------------------

[](#changes-to-syntax-from-php-markdown-extra)

Unless explicitly specified, existing Markdown markup works exactly as it did before. The orginal syntax is documentated here:

- [Markdown syntax](http://daringfireball.net/projects/markdown/syntax)
- [Markdown Extra syntax](http://michelf.com/projects/php-markdown/extra/)

### Support for *cite* attribute on blockquotes

[](#support-for-cite-attribute-on-blockquotes)

It is now possible to add the optional *cite* attribute to the *blockquote* element.

The new, optional, syntax is:

```
> (cite url) Cited content follows ...
```

#### Example:

[](#example)

```
> (http://www.whatwg.org/) Content inside a blockquote must be quoted
> from another source, whose address, if it has one,
> may be cited in the `cite` attribute.
```

Will result in the following HTML:

```

Content inside a blockquote must be quoted
from another source, whose address, if it has one,
may be cited in the `cite` attribute.

```

#### Breaking changes from PME

[](#breaking-changes-from-pme)

The existing rules for and [formatting options](http://daringfireball.net/projects/markdown/syntax#blockquote) for blockquotes still apply. There is one small breaking changes with this addition. If your quote starts with "(" you have two have at least two spaces between the initial "&gt;" and the "(". E.g.:

```
>  (Ut brisket flank salami.) Cow cupidatat ex t-bone sirloin id.
> Sunt flank pastrami spare ribs sint id, nulla nisi.
```

Will result in the following HTML:

```

  (Ut brisket flank salami.) Cow cupidatat ex t-bone sirloin id.
  Sunt flank pastrami spare ribs sint id, nulla nisi.

```

### Fenced code block with language support and alternating fence markers (```)

[](#fenced-code-block-with-language-support-and-alternating-fence-markers-)

It is now possible to specify the language type of a code block, and use an alternatinge fence markers (```), enabling the same syntax as that of GFM.

This addition follows the [suggested way](http://dev.w3.org/html5/spec-author-view/the-code-element.html#the-code-element) to specify language by W3C.

#### Example:

[](#example-1)

```
~~~html
Ut brisket flank salami.  Cow cupidatat ex t-bone sirloin id.
~~~

```

Using alternative fence markers:

```
```html
Ut brisket flank salami.  Cow cupidatat ex t-bone sirloin id.
```

```

Both will output the following HTML:

```

Ut brisket flank salami.  Cow cupidatat ex t-bone sirloin id.

```

### Support for *figure* and *figcaption* tags

[](#support-for-figure-and-figcaption-tags)

There is now experimental support for the the HTML5 tags *[figure](http://dev.w3.org/html5/markup/figure.html)* and *[figcaption](http://dev.w3.org/html5/markup/figcaption.html)*.

A *figure* is a block level element and is created by wrapping some other content in three or more equal (=) signs.

A optional *figure caption* can be added to either the top of the figure or the bottom at the figure, right after the equal signs, wrapped in \[ and \] signs.

#### Examples

[](#examples)

This example shows a *figure* without a caption:

```
===
![](img/reference.png)
===
```

This example shows a *figure* with a caption added before the content:

```
=== [A **happy face** is good for web developers]
![](img/reference.png)
===
```

This example shows a *figure* with a caption added after the content:

```
===
![](img/reference.png)
=== [A **happy face** is good for web developers]
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.9% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4dd703625b9219a488f367ecdfa6b7736f93d8ef1a1a93f8d3d0ab5d8b380d15?d=identicon)[geeks-dev](/maintainers/geeks-dev)

---

Top Contributors

[![egil](https://avatars.githubusercontent.com/u/105649?v=4)](https://github.com/egil "egil (31 commits)")[![ruslan-polutsygan](https://avatars.githubusercontent.com/u/5586503?v=4)](https://github.com/ruslan-polutsygan "ruslan-polutsygan (1 commits)")[![sumpygump](https://avatars.githubusercontent.com/u/676007?v=4)](https://github.com/sumpygump "sumpygump (1 commits)")

### Embed Badge

![Health badge](/badges/geeks-dev-php-markdown-extra-extended-stylish/health.svg)

```
[![Health](https://phpackages.com/badges/geeks-dev-php-markdown-extra-extended-stylish/health.svg)](https://phpackages.com/packages/geeks-dev-php-markdown-extra-extended-stylish)
```

PHPackages © 2026

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