A collection of useful hooks for pre-commit.
See also:
Add this to your .pre-commit-config.yaml
- repo: https://github.com/l.krimphove/pre-commit-hooks
rev: v0.1.4 # Use the ref you want to point at
hooks:
- id: parse-obsidian-links
# - id: ...
Parses Obsidian.md links to regular Markdown links:
from:
[[link-name|test-file]]
to:
[link-name](../path/to/test-file)