Skip to content

Commit 9b2f2ad

Browse files
committed
docs: live demo disclaimer
1 parent 4b0f6ec commit 9b2f2ad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ The plugin adds two new attributes that you can use on elements:
6262
- [`data-highlight`](#attribute-data-highlight)
6363
- [`data-highlight-text`](#attribute-data-highlight-text)
6464

65+
> It is recommended to view the [live demo and documentation page](https://threadgold.nz/demos/data-highlight) in order to see the plugin in action, interact with the examples, and benefit from the additional context they provide.
66+
6567
### Attribute `data-highlight`
6668

6769
To use the `data-highlight` attribute, simply pass the language as the attribute's key or value and ensure the element only contains text nodes (i.e. no nested elements) with the code snippet you want highlighted:

0 commit comments

Comments
 (0)