PHPackages                             benfiratkaya/commonmark-ext-underline - 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. benfiratkaya/commonmark-ext-underline

ActiveCommonmark-extension[Parsing &amp; Serialization](/categories/parsing)

benfiratkaya/commonmark-ext-underline
=====================================

This extension adds support for underline syntax. It allows users to use !! in order to indicate text that should be rendered within &lt;u&gt; tags.

1.0.0(4y ago)04.6k↓50%MITPHPPHP ^7.4 || ^8.0

Since Feb 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/benfiratkaya/commonmark-ext-underline)[ Packagist](https://packagist.org/packages/benfiratkaya/commonmark-ext-underline)[ RSS](/packages/benfiratkaya-commonmark-ext-underline/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

CommonMark Underline Extension
------------------------------

[](#commonmark-underline-extension)

[![Tests](https://github.com/benfiratkaya/commonmark-ext-underline/workflows/PHP%20Composer/badge.svg)](https://github.com/benfiratkaya/commonmark-ext-underline/workflows/PHP%20Composer/badge.svg)

This extension adds support for underline syntax. It allows users to use ^^ in order to indicate text that should be rendered within tags.

Install
-------

[](#install)

```
composer require benfiratkaya/commonmark-ext-underline
```

Example
-------

[](#example)

```
use League\CommonMark\Environment\Environment;
use League\CommonMark\Extension\CommonMark\CommonMarkCoreExtension;
use BenFiratKaya\CommonMarkExtension\Underline;

$environment = new Environment([]);
$environment->addExtension(new CommonMarkCoreExtension())
            ->addExtension(new UnderlineExtension());

$converter = new MarkdownConverter($environment);
$html = $converter->convertToHtml('^^test^^');
```

This creates the following HTML

```
test
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

1547d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/22c3156714cb5ef9745bf9c32b71230fd95b7d21b5815e1e7ad1618c285ff8b1?d=identicon)[benfiratkaya](/maintainers/benfiratkaya)

---

Top Contributors

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

---

Tags

markdowntextcommonmarkextensionunderline

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/benfiratkaya-commonmark-ext-underline/health.svg)

```
[![Health](https://phpackages.com/badges/benfiratkaya-commonmark-ext-underline/health.svg)](https://phpackages.com/packages/benfiratkaya-commonmark-ext-underline)
```

###  Alternatives

[zoon/commonmark-ext-youtube-iframe

Extension for league/commonmark to replace youtube link with iframe

12275.9k1](/packages/zoon-commonmark-ext-youtube-iframe)

PHPackages © 2026

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