diff --git a/LICENCE.md b/LICENSE.md similarity index 100% rename from LICENCE.md rename to LICENSE.md diff --git a/README.md b/README.md index 296e47a..3ee75ba 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Plaindown [![npm version](https://img.shields.io/npm/v/@itznotabug/plaindown.svg?logo=npm&logoColor=white)](https://www.npmjs.com/package/@itznotabug/plaindown) -[![License](https://img.shields.io/npm/l/%40itznotabug%2Fplaindown?logo=apache&logoColor=white&color=blue)](https://github.com/ItzNotABug/plaindown/blob/main/LICENSE) +[![License](https://img.shields.io/npm/l/%40itznotabug%2Fplaindown?logo=apache&logoColor=white&color=blue)](https://github.com/ItzNotABug/plaindown/blob/main/LICENSE.md) [![CI](https://img.shields.io/github/actions/workflow/status/ItzNotABug/plaindown/ci.yml?logo=github&label=CI)](https://github.com/ItzNotABug/plaindown/actions/workflows/ci.yml) [![Previews](https://img.shields.io/badge/Previews-pkg.vc-blueviolet)](https://pkg.vc/) [![Vite](https://img.shields.io/badge/Vite-5.x%20|%206.x%20-646CFF.svg?logo=vite&logoColor=white)](https://vite.dev/) diff --git a/package.json b/package.json index 92ca888..7692c2c 100644 --- a/package.json +++ b/package.json @@ -44,9 +44,18 @@ "keywords": [ "vite", "vitepress", + "vite-plugin", + "vitepress-plugin", "markdown", - "plugin", - "bun" + "bun", + "markdown-endpoint", + "markdown-api", + "ai-seo", + "geo", + "llm", + "content-syndication", + "documentation", + "frontmatter" ], "author": "itznotabug", "license": "Apache-2.0", diff --git a/src/plugin/index.ts b/src/plugin/index.ts index 55d81d7..01ccb12 100644 --- a/src/plugin/index.ts +++ b/src/plugin/index.ts @@ -225,7 +225,9 @@ export function plaindown(userOptions: PlaindownOptions = {}): Plugin { `indexed ${cachedFileCount} markdown ${cachedFileCount === 1 ? "entry" : "entries"} (${cachedChunkCount} ${cachedChunkCount === 1 ? "chunk" : "chunks"})`, ); } else { - Logger.success(`indexed ${cachedFileCount} markdown ${cachedFileCount === 1 ? "entry" : "entries"}`); + Logger.success( + `indexed ${cachedFileCount} markdown ${cachedFileCount === 1 ? "entry" : "entries"}`, + ); } } }, @@ -282,7 +284,9 @@ export const chunks = undefined;`; const bundleSizeKB = (bundleSize / 1024).toFixed(2); if (bundleSize > 512000) { - Logger.warn(`Large bundle: ${bundleSizeKB}KB (consider emit: true or experimental.chunks)`); + Logger.warn( + `Large bundle: ${bundleSizeKB}KB (consider emit: true or experimental.chunks)`, + ); } return code; @@ -309,7 +313,9 @@ export const chunks = undefined;`; `indexed ${cachedFileCount} markdown ${cachedFileCount === 1 ? "entry" : "entries"} (${cachedChunkCount} ${cachedChunkCount === 1 ? "chunk" : "chunks"})`, ); } else { - Logger.success(`indexed ${cachedFileCount} markdown ${cachedFileCount === 1 ? "entry" : "entries"}`); + Logger.success( + `indexed ${cachedFileCount} markdown ${cachedFileCount === 1 ? "entry" : "entries"}`, + ); } server.middlewares.use(createPlaindownMiddleware(config, () => manifest, options));