PHPackages                             ardissoebrata/beam-parsedown - 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. ardissoebrata/beam-parsedown

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ardissoebrata/beam-parsedown
============================

More features for Parsedown.

v1.0.1(5y ago)14.3kMITPHP

Since Jan 22Pushed 5y ago2 watchersCompare

[ Source](https://github.com/ardissoebrata/beam-parsedown)[ Packagist](https://packagist.org/packages/ardissoebrata/beam-parsedown)[ Docs](https://github.com/ardissoebrata/beam-parsedown)[ RSS](/packages/ardissoebrata-beam-parsedown/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Beam-Parsedown
==============

[](#beam-parsedown)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c646d62bf25c841dab576e19809ae96ec89375004643de274269e52b96a2fd0c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6172646973736f6562726174612f6265616d2d7061727365646f776e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ardissoebrata/beam-parsedown)[![Total Downloads](https://camo.githubusercontent.com/752f90a04c43020e9e02eb0fc78179bedb0a1d2e8a5d4f8f6595bd50a5d51e61/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6172646973736f6562726174612f6265616d2d7061727365646f776e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ardissoebrata/beam-parsedown)[![Test](https://github.com/ardissoebrata/beam-parsedown/workflows/Test/badge.svg)](https://github.com/ardissoebrata/beam-parsedown/workflows/Test/badge.svg)

Beam-Parsedown is a Laravel package of [ParsedownExtra](https://github.com/erusev/parsedown-extra) which adds several new features in it.

Here's a list of the added features:

- [BasePath](#user-content-basepath)
- [Header ID](#user-content-header-id)
- [Icons](#user-content-icons)
- [Audio](#user-content-audio)
- [Youtube](#user-content-youtube)
- [Alerts](#user-content-alerts)
- [Drawio](#user-content-drawio)
- [Mermaid JS](#user-content-mermaid-js)
- [Chart JS](#user-content-chart-js)

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

[](#installation)

Via Composer

```
$ composer require ardissoebrata/beam-parsedown
```

Usage
-----

[](#usage)

```
$html = BeamParsedown::text($markdown);
```

### BasePath

[](#basepath)

Set default base path for images, audios &amp; drawio diagrams. It will only add base path to relative urls (ex. `./image.png`).

```
$html = BeamParsedown::setBasePath($basepath)->text($markdown);
```

### Header ID

[](#header-id)

Automatically add IDs to headings.

**Markdown**

```
# Heading 1

## Heading 2

### Heading 3
```

**Results**

```
Heading 1

Heading 2

Heading 3
```

### Icons

[](#icons)

You can easily display fontawesome icons. To add an icon, simply write `icon:` followed with the class icon that you want to display in square brackets.

**Markdown**

```
[icon: fa fa-home]

# [icon: fa fa-home] Home

## [icon: fa fa-home] Home 2 {#the-site .main .shine lang=fr}
```

**Results**

```

 Home
 Home 2
```

### Audio

[](#audio)

To embed audio, add `audio:` followed by the link to audio file (m4a).

**Markdown**

```
[audio: audios.m4a]
[audio: http://other-example.com/audios.m4a]
```

**Results**

```

```

### Youtube

[](#youtube)

Display youtube videos from shared links. Write `youtube:` followed by shared links from Youtube, enclosed in square bracket.

**Markdown**

```
[youtube: https://youtu.be/videoid]
```

**Results**

```

```

### Alerts

[](#alerts)

To display note/info block in document, enclosed block with `info` followed by three tick marks (```).

**Markdown**

```
:::info
**Note:** Note contents live here.

And here too. Add blank line to test multiline alerts.
:::

:::warning
**Warning:** Warning contents live here.
:::
```

**Results**

```

Note: Note contents live here.
And here too. Add blank line to test multiline alerts.

Warning: Warning contents live here.

```

### Draw.io

[](#drawio)

To embed **draw.io** diagrams, add `drawio:` followed by the link to drawio file (`.drawio`).

**Markdown**

```
[drawio: sample.drawio]
```

**Results**

```

```

### Mermaid JS

[](#mermaid-js)

Here is one mermaid diagram:

**Markdown**

```
:::mermaid
graph TD
    A[Client] --> B[Load Balancer]
    B --> C[Server1]
    B --> D[Server2]
:::
```

**Results**

```

graph TD
    A[Client] --> B[Load Balancer]
    B --> C[Server1]
    B --> D[Server2]

```

### Chart JS

[](#chart-js)

Show charts with chart.js config:

**Markdown**

```
:::chart
{
  "type": "line",
  "data": {
	  ...
  },
  "options": {
  }
}
:::
```

**Results**

```

{
  "type": "line",
  "data": {
	  ...
  },
  "options": {
  }
}

```

### Configuration

[](#configuration)

To add new or edit the default options, run the following command to make a copy of the default configuration file:

```
php artisan vendor:publish --tag=beam-parsedown.config --force
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Credits
-------

[](#credits)

- [Ardi Soebrata](https://github.com/ardissoebrata)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see the [license file](license.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

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

Every ~2 days

Total

2

Last Release

1934d ago

### Community

Maintainers

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

---

Top Contributors

[![ardissoebrata](https://avatars.githubusercontent.com/u/883110?v=4)](https://github.com/ardissoebrata "ardissoebrata (38 commits)")

---

Tags

laravelparsermarkdownmarkdown-extraparsedownardissoebratabeam-parsedown

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ardissoebrata-beam-parsedown/health.svg)

```
[![Health](https://phpackages.com/badges/ardissoebrata-beam-parsedown/health.svg)](https://phpackages.com/packages/ardissoebrata-beam-parsedown)
```

###  Alternatives

[erusev/parsedown-extra

An extension of Parsedown that adds support for Markdown Extra.

84314.8M192](/packages/erusev-parsedown-extra)[alfredo-ramos/parsedown-extra-laravel

A Parsedown Extra package for Laravel

30155.1k1](/packages/alfredo-ramos-parsedown-extra-laravel)[tovic/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5933.7k](/packages/tovic-parsedown-extra-plugin)[taufik-nurrohman/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5932.3k](/packages/taufik-nurrohman-parsedown-extra-plugin)[leblanc-simon/parsedown-checkbox

An extension of Parsedown and ParsedownExtra that adds support for checkbox

181.4k1](/packages/leblanc-simon-parsedown-checkbox)[benjaminhoegh/parsedown-extended

An extension for Parsedown.

5022.6k1](/packages/benjaminhoegh-parsedown-extended)

PHPackages © 2026

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