From ec00a40aefca73596ab76e3ebe3a8e1129b43688 Mon Sep 17 00:00:00 2001 From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Jan 2026 18:27:17 +0000 Subject: [PATCH] chore(deps): bump the production-dependencies group with 4 updates (#2289) --- docs/features/private pages.md | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/features/private pages.md b/docs/features/private pages.md index 1e8f8aa..eed6d3c 100644 --- a/docs/features/private pages.md +++ b/docs/features/private pages.md @@ -13,9 +13,7 @@ If you'd like to only publish a select number of notes, you can instead use [[ExplicitPublish]] which will filter out all notes except for any that have `publish: true` in the frontmatter. > [!warning] -> Regardless of the filter plugin used, **all non-markdown files will be emitted and available publically in the final build.** This includes files such as images, voice recordings, PDFs, etc. One way to prevent this and still be able to embed local images is to create a folder specifically for public media and add the following two patterns to the ignorePatterns array. -> -> `"!(PublicMedia)**/!(*.md)", "!(*.md)"` +> Regardless of the filter plugin used, **all non-markdown files will be emitted and available publically in the final build.** This includes files such as images, voice recordings, PDFs, etc. ## `ignorePatterns` @@ -28,7 +26,7 @@ - `some/folder`: exclude the entire of `some/folder` - `*.md`: exclude all files with a `.md` extension -- `!*.md` exclude all files that _don't_ have a `.md` extension +- `!(*.md)` exclude all files that _don't_ have a `.md` extension. Note that negations _must_ parenthesize the rest of the pattern! - `**/private`: exclude any files or folders named `private` at any level of nesting > [!warning] -- Gitblit v1.10.0