Skip to content

Commit 4e389d3

Browse files
committed
2 parents 1083e64 + effcdcd commit 4e389d3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
# Bard add-on for Statamic 3 for adding a span and class to selected content
1+
# Bard add-on for Statamic 4 for adding a span and class to selected content
22

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

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

8+
You can use 1.x for Statamic 3.
9+
810
While this has a personal purpose for my own use, it also shows a simple working example of how to wrap selected content
911
with an element, and add a class. Something that does have many use cases beyond something as trivial as this example.
1012

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

1416
## Installation
1517

0 commit comments

Comments
 (0)