PHPackages                             pomodocs/commonmark-alert - 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. pomodocs/commonmark-alert

ActiveCommonmark-extension

pomodocs/commonmark-alert
=========================

CommonMark extension to support alerts in Github blockquote style

v0.7(2mo ago)31.9k↓45.2%31MITPHPPHP &gt;=8.3CI passing

Since Sep 28Pushed 2mo agoCompare

[ Source](https://github.com/pomodocs/commonmark-alert)[ Packagist](https://packagist.org/packages/pomodocs/commonmark-alert)[ RSS](/packages/pomodocs-commonmark-alert/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (4)Used By (1)

CommonMark Alert Extension
==========================

[](#commonmark-alert-extension)

[![Tests](https://github.com/pomodocs/commonmark-alert/actions/workflows/test.yml/badge.svg)](https://github.com/pomodocs/commonmark-alert/actions/workflows/test.yml/badge.svg)[![Maintainability](https://camo.githubusercontent.com/000dd56aadf0bd1a820bc566f588fd3bb357d74de8098aa62ba064278f8d9aa0/68747470733a2f2f716c74792e73682f67682f706f6d6f646f63732f70726f6a656374732f636f6d6d6f6e6d61726b2d616c6572742f6d61696e7461696e6162696c6974792e737667)](https://qlty.sh/gh/pomodocs/projects/commonmark-alert)[![Code Coverage](https://camo.githubusercontent.com/ae1fa72d1a03edd2b161479c0f31ecd6e1836bea8e4a4f3a500950f3b57ef121/68747470733a2f2f716c74792e73682f67682f706f6d6f646f63732f70726f6a656374732f636f6d6d6f6e6d61726b2d616c6572742f636f7665726167652e737667)](https://qlty.sh/gh/pomodocs/projects/commonmark-alert)[![GitHub](https://camo.githubusercontent.com/2092cf5252d8996d58e104a1dfeb04f38cbe3019c68b5f679b3aa83ecb0883ec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f706f6d6f646f63732f636f6d6d6f6e6d61726b2d616c657274)](https://camo.githubusercontent.com/2092cf5252d8996d58e104a1dfeb04f38cbe3019c68b5f679b3aa83ecb0883ec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f706f6d6f646f63732f636f6d6d6f6e6d61726b2d616c657274)

CommonMark Alert Extension is an extension for [League CommonmMark](https://commonmark.thephpleague.com/) to support alerts in [Github blockquote style](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts).

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

[](#installation)

Install the extension via [Composer](https://getcomposer.org):

```
composer require pomodocs/commonmark-alert
```

Basic Usage
-----------

[](#basic-usage)

After installing it, register the extension in your [Commonmark Environment](https://commonmark.thephpleague.com/2.7/basic-usage/):

```
