diff --git a/README.md b/README.md index 2804e43..db337ba 100644 --- a/README.md +++ b/README.md @@ -118,13 +118,13 @@ The next step is to set up a `template` to link `code-input` to your syntax-high To see a full list of plugins and their functions, please see [plugins/README.md](./plugins/README.md). ### 4. Using the component -Now that you have registered a template, you can use the custom `` element in HTML. If you have more than one template registered, you need to add the template name as the `template` attribute. With the element, using the `lang` attribute will add a `language-{value}` class to the `pre code` block. You can now use HTML attributes and events to make your element as simple or interactive as you like! +Now that you have registered a template, you can use the custom `` element in HTML. If you have more than one template registered, you need to add the template name as the `template` attribute. With the element, using the `language` attribute will add a `language-{value}` class to the `pre code` block. You can now use HTML attributes and events to make your element as simple or interactive as you like! ```HTML - + ``` *or* ```HTML - < href='https://github.com/WebCoder49/code-input'>code-input</a> + < href='https://github.com/WebCoder49/code-input'>code-input</a> ``` ## Contributing diff --git a/tests/prism.html b/tests/prism.html index 38abdfb..fc72c0b 100644 --- a/tests/prism.html +++ b/tests/prism.html @@ -7,7 +7,7 @@ - +