add scripts
This commit is contained in:
parent
29ef89d8f3
commit
55d389e2d1
2 changed files with 8 additions and 0 deletions
3
scripts/show_notes_without_rev.sh
Executable file
3
scripts/show_notes_without_rev.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
mdq -c file.title:Title -c file.path:Path -f '{"rev": {"$exists": false}}' .
|
5
scripts/validate_schema.sh
Executable file
5
scripts/validate_schema.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
mdq -c file.path --noheader . | while IFS= read -r md; do
|
||||
mdlint --ignore-missing-frontmatter "schema.json" "$md"
|
||||
done
|
Loading…
Reference in a new issue