Skip to content

Commit

Permalink
Incorrect package name in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Nov 8, 2024
1 parent 99b8996 commit d3097f4
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 @@ -16,10 +16,10 @@ npm install @11ty/posthtml-urls

```js
const posthtml = require('posthtml');
const urls = require('posthtml-urls');
const urls = require('@11ty/posthtml-urls');

const options = {
eachURL: (url, attr, element) => `http://domain.com/${url}`
eachURL: (url, attr, tagName) => `http://domain.com/${url}`
};

posthtml()
Expand Down

0 comments on commit d3097f4

Please sign in to comment.