From 03bcb6c08ef5d2ffc63f374ce9b020b04de5cfe2 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Sun, 8 Jun 2025 21:01:18 +0200 Subject: [PATCH] Add "usage" section in readme.md --- README.md | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 209c2f3..9348871 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,16 @@ export default function (eleventyConfig) { }; ``` +## Usage + +Add the extension ".pdf" to the permalink of the template's front matter. + +```yaml +--- +permalink: "my-file.pdf" +--- +``` + ## Options The `options` object can contain: diff --git a/package.json b/package.json index 0ff5ad8..9f7706b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eleventy-plugin-pdf", - "version": "1.0.0", + "version": "1.0.1", "description": "A plugin for 11ty that generates a pdf file from a template", "main": "eleventy.config.js", "type": "module",