Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ use nix

### Markdown

- [comrak](https://github.com/kivikakk/comrak)
- [markdownlint](https://github.com/DavidAnson/markdownlint)
- [mdformat](https://github.com/hukkin/mdformat)
- [mdl](https://github.com/markdownlint/markdownlint/)
Expand Down
7 changes: 7 additions & 0 deletions modules/hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2464,6 +2464,13 @@ in
entry = "${hooks.commitizen.package}/bin/cz check --allow-abort --commit-msg-file";
stages = [ "commit-msg" ];
};
comrak = {
name = "comrak";
description = "A 100% CommonMark-compatible GitHub Flavored Markdown formatter";
package = tools.comrak;
entry = "${lib.getExe hooks.comrak.package} --inplace";
types = [ "markdown" ];
};
conform = {
name = "conform enforce";
description = "Policy enforcement for commits.";
Expand Down
2 changes: 2 additions & 0 deletions nix/tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
, cljfmt
, cmake-format
, commitizen
, comrak
, conform
, convco
, crystal
Expand Down Expand Up @@ -121,6 +122,7 @@ in
clippy
cljfmt
cmake-format
comrak
conform
convco
crystal
Expand Down