Shared Prettier plugin for utilfirst projects. Targets Markdown on Node 24.11+ and Prettier 3.
The repository contains the ESM plugin, parser tests, package verification, release tooling, and its living architecture owner.
mise install
pnpm install
pnpm test- Architecture defines the parser boundary, transformation pipeline, package surface, build output, and verification ownership.
- Keeps bare URLs with trailing or intra-word underscores literal (e.g.
https://instagram.com/highnote_____doesn't get rewritten as**\_**).
pnpm add -D @utilfirst/prettier-plugin// prettier.config.ts
import type { Config } from "prettier";
const config: Config = {
plugins: ["@utilfirst/prettier-plugin"],
};
export default config;pnpm install
pnpm test # unit and packed-artifact tests
pnpm run build # tsdown → dist/
pnpm run lint # oxlint + prettier + publint + tscMIT