Skip to content

Commit

Permalink
README improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Feb 2, 2023
1 parent aa78be3 commit 17ea985
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 @@ -59,7 +59,7 @@ module.exports = function(eleventyConfig) {

## Usage

The following shortcodes are provided by this plugin:
The following Universal Shortcodes (available in `njk`, `liquid`, `hbs`, `11ty.js`, and `webc`) are provided by this plugin:

* `css`, `js`, and `html` to add code to a bundle.
* `getBundle` and `getBundleFileUrl` to get bundled code.
Expand Down Expand Up @@ -232,7 +232,7 @@ Now the compiled Sass is available in your default bundle and will show up in `g

#### Use with [WebC](https://www.11ty.dev/docs/languages/webc/)

Starting with `@11ty/eleventy-plugin-webc@0.9.0` this plugin is used by default in the Eleventy WebC plugin. Specifically, [WebC Bundler Mode](https://www.11ty.dev/docs/languages/webc/#css-and-js-(bundler-mode)) now uses the bundle plugin under the hood.
Starting with `@11ty/eleventy-plugin-webc@0.9.0` ([coming soon](https://github.com/11ty/eleventy-plugin-webc/issues/48)) this plugin is used by default in the Eleventy WebC plugin. Specifically, [WebC Bundler Mode](https://www.11ty.dev/docs/languages/webc/#css-and-js-(bundler-mode)) now uses the bundle plugin under the hood.

To add CSS to a page bundle in WebC, you would use a `<style>` element in a WebC page or component:

Expand Down

0 comments on commit 17ea985

Please sign in to comment.