From 44bc9851d059f194b29ab5aebd897427108ac1dd Mon Sep 17 00:00:00 2001 From: Ricardo Date: Mon, 24 Aug 2026 14:22:23 +0200 Subject: [PATCH] style(endpoint-share): keep the share-url example on one line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #910 fixed the failing Prettier check by accepting what Prettier wanted, which split the `` over three lines and made it self-closing. The trailing slash has no meaning on a void element and reads as though it does, so the original one-line form is the better documentation. `.prettierignore` already excludes `*.html`, but this markup is a fenced block inside a Markdown file, which that pattern does not match — so it was formatted as embedded code rather than skipped. A `` comment excludes just this block and leaves the rest of the file checked. `prettier --check` passes across tracked files. --- packages/endpoint-share/README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/endpoint-share/README.md b/packages/endpoint-share/README.md index eb19c6462..030a8443a 100644 --- a/packages/endpoint-share/README.md +++ b/packages/endpoint-share/README.md @@ -39,11 +39,9 @@ The share endpoint accepts query parameters to pre-fill form fields. This allows To enable services like [ShareOpenly](https://shareopenly.org) to share to your site, add a `` element with `rel="share-url"` to your homepage: + ```html - + ``` Replace `https://example.com/share` with the URL of your share endpoint.