Add markdown devshell

This commit is contained in:
Nathan McCarty 2025-01-13 14:56:21 -05:00
parent 29fd118635
commit f6297461f5
2 changed files with 26 additions and 0 deletions

25
devshells/markdown.nix Normal file
View file

@ -0,0 +1,25 @@
{
withSystem,
inputs,
...
}: {
perSystem = {
config,
pkgs,
lib,
inputs',
...
}: {
devShells.markdown = pkgs.mkShell {
buildInputs = with pkgs; [
(python3.withPackages (ps:
with ps; [
mdformat
mdformat-gfm
mdformat-tables
mdformat-footnote
]))
];
};
};
}

View file

@ -36,6 +36,7 @@
./devshells/rust.nix
./devshells/idris2.nix
./devshells/raku.nix
./devshells/markdown.nix
];
config = {
systems = [