Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
martyf committed Jun 2, 2023
2 parents 1083e64 + effcdcd commit 4e389d3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Bard add-on for Statamic 3 for adding a span and class to selected content
# Bard add-on for Statamic 4 for adding a span and class to selected content

![Statamic 3.0+](https://img.shields.io/badge/Statamic-3.0+-FF269E?style=for-the-badge&link=https://statamic.com)
![Statamic 4.0+](https://img.shields.io/badge/Statamic-4.0+-FF269E?style=for-the-badge&link=https://statamic.com)

This is an example Bard addon for Statamic 3 that adds a span with a class to selected content. In this example, you can
This is an example Bard addon for Statamic 4 that adds a span with a class to selected content. In this example, you can
select from a number of Les Mills group fitness classes.

You can use 1.x for Statamic 3.

While this has a personal purpose for my own use, it also shows a simple working example of how to wrap selected content
with an element, and add a class. Something that does have many use cases beyond something as trivial as this example.

Personally, I'll use this package as is... but for others, it is a simple and working example of how to write your own
addon for Bard in Statamic 3.
addon for Bard in Statamic 4.

## Installation

Expand Down

0 comments on commit 4e389d3

Please sign in to comment.