Skip to content

Commit

Permalink
Correct the README
Browse files Browse the repository at this point in the history
  • Loading branch information
BenDMyers committed May 22, 2021
1 parent 6aa9f68 commit 4b7be8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ Then, in your `.eleventy.js` file, import the plugin and add to your Eleventy co
const twitchChat = require('eleventy-plugin-twitch-chat');

module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(eleventyConfig);
eleventyConfig.addPlugin(twitchChat);
}
```

Finally, add a chat to your page! Go to a template or layout file, and use the `twitchChat` shortcode, passing it a string with the channel name(s) you want to watch. For instance, to inject a chat for the SomeAnticsDev Twitch channel, you would add:
Finally, add a chat to your page! Go to a template or layout file, and use the `twitchChat` shortcode, passing it a string with the channel name(s) you want to watch. For instance, to inject a chat for the [SomeAnticsDev](https://twitch.tv/SomeAnticsDev) Twitch channel, you would add:

```liquid
{% twitchChat 'SomeAnticsDev' %}
Expand Down

0 comments on commit 4b7be8b

Please sign in to comment.