From 13343ef2bda5805731a27e0e988918ecfd621c9f Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 2 Mar 2026 22:25:13 +0300 Subject: [PATCH] nix: format Markdown with `deno fmt` Signed-off-by: NotAShelf Change-Id: Id652cb01903d1ca4de4b8839118fac556a6a6964 --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index bd38fad..15dc2d4 100644 --- a/flake.nix +++ b/flake.nix @@ -27,6 +27,7 @@ pkgs.alejandra pkgs.fd pkgs.prettier + pkgs.deno pkgs.go # provides gofmt pkgs.golines ]; @@ -38,6 +39,9 @@ # Format HTML & Javascript files with Prettier fd "$@" -t f -e html -e js -x prettier -w '{}' + # Format Markdown with Deno's Markdown formatter + fd "$@" -t f -e md -x deno fmt -q '{}' + # Format go files with both gofmt & golines fd "$@" -t f -e go -x golines -l -w --max-len=110 \ --base-formatter=gofmt \