PHPackages                             stillat/statamic-bard-heading-permalinks - 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. stillat/statamic-bard-heading-permalinks

ActiveLibrary

stillat/statamic-bard-heading-permalinks
========================================

v1.1.1(2mo ago)2521MITPHPPHP ^8.1

Since Nov 11Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Stillat/statamic-bard-heading-permalinks)[ Packagist](https://packagist.org/packages/stillat/statamic-bard-heading-permalinks)[ GitHub Sponsors](https://github.com/JohnathonKoster)[ RSS](/packages/stillat-statamic-bard-heading-permalinks/feed)WikiDiscussions main Synced 1mo ago

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

Bard Heading Permalinks for Statamic
====================================

[](#bard-heading-permalinks-for-statamic)

Bard Heading Permalinks is an addon for Statamic that can add permalinks automatically to headings, similar to how permalinks can be added to markdown content.

How to Install
--------------

[](#how-to-install)

To install Bard Heading Permalinks run the following command from the root of your project:

```
composer require stillat/statamic-bard-heading-permalinks
```

How to Use
----------

[](#how-to-use)

Once installed you will need to register the Bard extensions provided by this addon. This is typically done within your site's `AppServiceProvider`.

Bard Heading Permalinks provides two different extensions:

- `Permalink`: Responsible for rendering the embedded link within headings
- `HeadingPermalinkExtension`: Adds the permalink, and any other details to rendered headings

For convenience, both extensions may be registered at once:

```
