Skip to content

Commit 5abaeec

Browse files
committed
Add pre-commit enabled badge to README
- Add badge showing pre-commit integration - Format with pandoc to use reference-style links
1 parent 064bc3e commit 5abaeec

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# pre-commit-pandoc
22

3-
[![Test]][1]
3+
[![Test][]][1] [![pre-commit]][2]
44

5-
A [pre-commit] hook for formatting Markdown files using [pandoc].
5+
A [pre-commit][3] hook for formatting Markdown files using [pandoc].
66

77
## Features
88

@@ -15,8 +15,8 @@ This hook formats Markdown files with pandoc using the following settings:
1515

1616
## Prerequisites
1717

18-
- [pre-commit] installed
19-
- [pandoc][2] installed
18+
- [pre-commit][3] installed
19+
- [pandoc][4] installed
2020

2121
## Installation
2222

@@ -104,7 +104,9 @@ MIT License - see LICENSE file for details.
104104

105105
[Test]: https://github.com/jupblb/pre-commit-pandoc/actions/workflows/test.yml/badge.svg
106106
[1]: https://github.com/jupblb/pre-commit-pandoc/actions/workflows/test.yml
107-
[pre-commit]: https://pre-commit.com
107+
[pre-commit]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit
108+
[2]: https://github.com/pre-commit/pre-commit
109+
[3]: https://pre-commit.com
108110
[pandoc]: https://pandoc.org/
109-
[2]: https://pandoc.org/installing.html
111+
[4]: https://pandoc.org/installing.html
110112
[pandoc documentation]: https://pandoc.org/MANUAL.html#general-options

0 commit comments

Comments
 (0)