Add markdown devshell
This commit is contained in:
parent
29fd118635
commit
f6297461f5
25
devshells/markdown.nix
Normal file
25
devshells/markdown.nix
Normal 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
|
||||
]))
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue