diff --git a/README.md b/README.md
index 3ba188b..4541d97 100644
--- a/README.md
+++ b/README.md
@@ -13,14 +13,14 @@ General usage example:
+
+
+
+
+
+
+
+
@@ -37,7 +37,8 @@ _Note that there are no defaults set for the API or template being used. `link-p
This Web Component allows you to:
- Use public APIs to return and present metadata on a linked web page
-- Create custom templates for your 'unfurled' link previews for greater design control
+- Create custom templates for your 'unfurled' link previews using a `` element and `data-key="name"` data attributes
+- Use a custom template for specific instances using the `template` attribute
- Use any public API to populate your 'unfurled' previews
## Installation
@@ -66,6 +67,21 @@ Here's that same example in context:
```
+You can also use different templates on the same page by using the template attribute to target `` elements with a specific `id`:
+
+```html
+
+
+
+
+
+ David Darnes
+
+```
+
_Note that for and elements the value won't be applied to it's content if the string being returned starts with http and instead will be applied to the href and src attributes respectively._
### Usage
@@ -81,7 +97,7 @@ Make sure you include the `
```
@@ -89,7 +105,7 @@ Make sure you include the `
```
diff --git a/demo-simple-example.html b/demo-simple-example.html
index 64b3162..f8e3811 100644
--- a/demo-simple-example.html
+++ b/demo-simple-example.html
@@ -7,9 +7,15 @@
link-peek Web Component Demo
+
+
- Simple example
+ Simple template example
@@ -17,5 +23,18 @@ Simple example
David Darnes
+
+ Custom template example using template
attribute
+
+
+
+
+
+
+ David Darnes
+